Bug 17822 - drivers/scsi/ipr.c implicit declaration of function 'writeq'
Summary: drivers/scsi/ipr.c implicit declaration of function 'writeq'
Status: RESOLVED CODE_FIX
Alias: None
Product: SCSI Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 high
Assignee: scsi_drivers-other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-05 14:44 UTC by Teej
Modified: 2012-08-13 16:25 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.34
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Teej 2010-09-05 14:44:38 UTC
In Gentoo, I ran "genkernel all" to compile the kernel and all modules and the following error occurred:

  CC [M]  drivers/scsi/ipr.o
drivers/scsi/ipr.c: In function 'ipr_mask_and_clear_interrupts':
drivers/scsi/ipr.c:653: error: implicit declaration of function 'writeq'
make[2]: *** [drivers/scsi/ipr.o] Error 1
make[1]: *** [drivers/scsi] Error 2
Comment 1 Teej 2010-09-05 14:45:13 UTC
Note: This is the 2.6.34-gentoo-r1 kernel for ppc
Comment 2 Rolf Eike Beer 2010-09-06 11:56:17 UTC
This sounds very familar: https://bugzilla.kernel.org/show_bug.cgi?id=16971

Is this a regression from earlier releases?
Comment 3 Teej 2010-09-06 13:31:17 UTC
That does look very similar to this problem, but of course in another driver. Strangely, that is also ppc.
I have also had the same error in the 2.6.35-r5 kernel sources in Gentoo, so this hasn't since been noticed/fixed and has in fact regressed.
Comment 4 Wayne Boyer 2010-09-07 23:04:39 UTC
The problem in the IPR driver is fixed with this patch:

http://git.kernel.org/?p=linux/kernel/git/jejb/scsi-misc-2.6.git;a=commit;h=c5f10187965f93ef7ef67da9c7c449b13b6dee1b

Note You need to log in before you can comment on or make changes to this bug.