OSDN Git Service

[PATCH] cciss: do not mark cciss_scsi_detect __init
authorPaX Team <pageexec@freemail.hu>
Mon, 28 Aug 2006 14:39:10 +0000 (16:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Aug 2006 06:07:48 +0000 (08:07 +0200)
commit86807e7bf717cebd2ece0dcf8f221b5d5b99cf4d
tree877e527307e0f5f1ca92aac6f377af41e44f1d7a
parent859abf20cf365e97360f8dae1d4b5c75947a41bf
[PATCH] cciss: do not mark cciss_scsi_detect __init

if the cciss driver is compiled in then later discovery requests
initiated from userland will result in calling free'd memory since
the detect method is marked as __init. suggested fix is to simply
not mark it as __init, 2.6 has done it as well.
drivers/block/cciss_scsi.c