Re: [PATCH RESEND] scsi: sim710: fix build warning

From: Johannes Thumshirn
Date: Thu Feb 11 2016 - 03:46:19 EST


On Thu, Feb 11, 2016 at 10:29:03AM +0530, Sudip Mukherjee wrote:
> We are getting build warning about:
> "Section mismatch in reference from the variable sim710_eisa_driver to
> the function .init.text:sim710_eisa_probe()
> The variable sim710_eisa_driver references the function __init
> sim710_eisa_probe()"
>
> sim710_eisa_probe() was having __init but that was being referenced from
> sim710_eisa_driver.
>
> Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxxx>

Reviewed-by: Johannes Thumshirn <jthumshirn@xxxxxxx>

--
Johannes Thumshirn Storage
jthumshirn@xxxxxxx +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850