* [Bug 1898] fdomain module crashes on load in 2.6.x
[not found] <bug-1898-11613@https.bugzilla.kernel.org/>
@ 2014-06-04 2:21 ` bugzilla-daemon
2014-06-04 2:23 ` bugzilla-daemon
1 sibling, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2014-06-04 2:21 UTC (permalink / raw
To: linux-scsi
https://bugzilla.kernel.org/show_bug.cgi?id=1898
Andreas Hartmetz <ahartmetz@web.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Regression|--- |No
--- Comment #4 from Andreas Hartmetz <ahartmetz@web.de> ---
For historical interest: relevant history is available at
https://archive.org/details/git-history-of-linux and the commit that most
likely fixed this bug is aa98a175adc4165908817b7b9881b60be659d0cc which fixed a
few things that were very fishy in fdomain.c.
... I probably don't have that hardware anymore though :)
[PATCH] fdomain screwup
| From: Andrew Morton
| To: linux-scsi@vger.kernel.org
| Subject: fdomain screwup
|
| - fdomain_setup() is marked __init, but is called from non-__init
| fdomain_16x0_detect()
|
| - fdomain_setup() is declared in drivers/scsi/pcmcia/fdomain_stub.c as
| taking two arguments, but is implemented in fdomain_setup() taking a
| single argument.
|
| Please, never ever ever put extern function declarations in .c files.
| Put it in a header file which is visible to the definition and to all
| callsites.
|
| - fdomain_setup() is declared static, hence the linkage fails.
|
| - fdomain_16x0_bus_reset() is implemented in drivers/scsi/fdomain.c but
| has static scope, so the call from drivers/scsi/pcmcia/fdomain_stub.c
| doesn't work.
[I didn't find this to be the case, so I didn't fix it.]
| - fdomain_16x0_bus_reset() has an extern declaration in
| drivers/scsi/pcmcia/fdomain_stub.c. This should be moved to a header
| file which is visible to etc... [PATCH] fdomain screwup
| From: Andrew Morton
| To: linux-scsi@vger.kernel.org
| Subject: fdomain screwup
|
| - fdomain_setup() is marked __init, but is called from non-__init
| fdomain_16x0_detect()
|
| - fdomain_setup() is declared in drivers/scsi/pcmcia/fdomain_stub.c as
| taking two arguments, but is implemented in fdomain_setup() taking a
| single argument.
|
| Please, never ever ever put extern function declarations in .c files.
| Put it in a header file which is visible to the definition and to all
| callsites.
|
| - fdomain_setup() is declared static, hence the linkage fails.
|
| - fdomain_16x0_bus_reset() is implemented in drivers/scsi/fdomain.c but
| has static scope, so the call from drivers/scsi/pcmcia/fdomain_stub.c
| doesn't work.
[I didn't find this to be the case, so I didn't fix it.]
| - fdomain_16x0_bus_reset() has an extern declaration in
| drivers/scsi/pcmcia/fdomain_stub.c. This should be moved to a header
| file which is visible to etc...
Builds and loads. No hardware to test.
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug 1898] fdomain module crashes on load in 2.6.x
[not found] <bug-1898-11613@https.bugzilla.kernel.org/>
2014-06-04 2:21 ` [Bug 1898] fdomain module crashes on load in 2.6.x bugzilla-daemon
@ 2014-06-04 2:23 ` bugzilla-daemon
1 sibling, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2014-06-04 2:23 UTC (permalink / raw
To: linux-scsi
https://bugzilla.kernel.org/show_bug.cgi?id=1898
--- Comment #5 from Andreas Hartmetz <ahartmetz@web.de> ---
Yeah, that was me clicking the wrong button. If you read from the second
"[PATCH] fdomain screwup", you have the proper commit message.
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-04 2:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <bug-1898-11613@https.bugzilla.kernel.org/>
2014-06-04 2:21 ` [Bug 1898] fdomain module crashes on load in 2.6.x bugzilla-daemon
2014-06-04 2:23 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.