* [PATCH] scsi: sim710: fix build warning
@ 2015-09-04 14:10 Sudip Mukherjee
2015-09-15 8:00 ` Sudip Mukherjee
0 siblings, 1 reply; 4+ messages in thread
From: Sudip Mukherjee @ 2015-09-04 14:10 UTC (permalink / raw)
To: James E.J. Bottomley; +Cc: linux-kernel, linux-scsi, Sudip Mukherjee
We were 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@vectorindia.org>
---
drivers/scsi/sim710.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/scsi/sim710.c b/drivers/scsi/sim710.c
index 3b3b56f..82ed998 100644
--- a/drivers/scsi/sim710.c
+++ b/drivers/scsi/sim710.c
@@ -176,8 +176,7 @@ static struct eisa_device_id sim710_eisa_ids[] = {
};
MODULE_DEVICE_TABLE(eisa, sim710_eisa_ids);
-static __init int
-sim710_eisa_probe(struct device *dev)
+static int sim710_eisa_probe(struct device *dev)
{
struct eisa_device *edev = to_eisa_device(dev);
unsigned long io_addr = edev->base_addr;
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] scsi: sim710: fix build warning
2015-09-04 14:10 [PATCH] scsi: sim710: fix build warning Sudip Mukherjee
@ 2015-09-15 8:00 ` Sudip Mukherjee
2015-12-09 11:45 ` Sudip Mukherjee
0 siblings, 1 reply; 4+ messages in thread
From: Sudip Mukherjee @ 2015-09-15 8:00 UTC (permalink / raw)
To: James E.J. Bottomley; +Cc: linux-kernel, linux-scsi
On Fri, Sep 04, 2015 at 07:40:29PM +0530, Sudip Mukherjee wrote:
> We were 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@vectorindia.org>
> ---
A gentle ping.
I still get the build warning while building for i386 allmodconfig with
next-20150915.
Build is at https://travis-ci.org/sudipm-mukherjee/parport/jobs/80365417
regards
sudip
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] scsi: sim710: fix build warning
2015-09-15 8:00 ` Sudip Mukherjee
@ 2015-12-09 11:45 ` Sudip Mukherjee
2016-01-09 7:42 ` Sudip Mukherjee
0 siblings, 1 reply; 4+ messages in thread
From: Sudip Mukherjee @ 2015-12-09 11:45 UTC (permalink / raw)
To: James E.J. Bottomley; +Cc: linux-kernel, linux-scsi, akpm
On Tue, Sep 15, 2015 at 01:30:00PM +0530, Sudip Mukherjee wrote:
> On Fri, Sep 04, 2015 at 07:40:29PM +0530, Sudip Mukherjee wrote:
> > We were 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@vectorindia.org>
> > ---
> A gentle ping.
> I still get the build warning while building for i386 allmodconfig with
> next-20150915.
> Build is at https://travis-ci.org/sudipm-mukherjee/parport/jobs/80365417
Another gentle ping. Build warning with i386 allmodconfig is still there
with next-20151209.
Build log is at:
https://travis-ci.org/sudipm-mukherjee/parport/jobs/95746184
regards
sudip
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] scsi: sim710: fix build warning
2015-12-09 11:45 ` Sudip Mukherjee
@ 2016-01-09 7:42 ` Sudip Mukherjee
0 siblings, 0 replies; 4+ messages in thread
From: Sudip Mukherjee @ 2016-01-09 7:42 UTC (permalink / raw)
To: James E.J. Bottomley, Martin K. Petersen; +Cc: linux-kernel, linux-scsi, akpm
On Wed, Dec 09, 2015 at 05:15:51PM +0530, Sudip Mukherjee wrote:
> On Tue, Sep 15, 2015 at 01:30:00PM +0530, Sudip Mukherjee wrote:
> > On Fri, Sep 04, 2015 at 07:40:29PM +0530, Sudip Mukherjee wrote:
> > > We were 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@vectorindia.org>
> > > ---
> > A gentle ping.
> > I still get the build warning while building for i386 allmodconfig with
> > next-20150915.
> > Build is at https://travis-ci.org/sudipm-mukherjee/parport/jobs/80365417
>
> Another gentle ping. Build warning with i386 allmodconfig is still there
> with next-20151209.
> Build log is at:
> https://travis-ci.org/sudipm-mukherjee/parport/jobs/95746184
Another gentle ping. Build warning with i386 allmodconfig is still there
with next-20160108.
Build log is at:
https://travis-ci.org/sudipm-mukherjee/parport/jobs/101006139
regards
sudip
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-01-09 7:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-04 14:10 [PATCH] scsi: sim710: fix build warning Sudip Mukherjee
2015-09-15 8:00 ` Sudip Mukherjee
2015-12-09 11:45 ` Sudip Mukherjee
2016-01-09 7:42 ` Sudip Mukherjee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).