* Re: linux-next: build warning after merge of the scsi tree
[not found] <20100804131300.8570fe77.sfr@canb.auug.org.au>
@ 2010-08-04 4:17 ` James Bottomley
0 siblings, 0 replies; only message in thread
From: James Bottomley @ 2010-08-04 4:17 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linux-next, linux-kernel, Alan Stern, linux-scsi
cc linux-scsi added
On Wed, 2010-08-04 at 13:13 +1000, Stephen Rothwell wrote:
> Hi James,
>
> After merging the scsi tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
>
> drivers/scsi/scsi_sysfs.c:384: warning: dereferencing 'void *' pointer
>
> Introduced by commit db5bd1e0b505c54ff492172ce4abc245cf6cd639 ("[SCSI]
> convert to the new PM framework"). This build does not have
> CONFIG_PM_OPS set.
So this one looks to be a compiler error. in the none CONFIG_PM_OPS
case, we have
scsi_priv.h:#define scsi_bus_pm_ops (*NULL)
So &scsi_bus_pm_ops should be NULL (not a deref of null).
James
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-04 4:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20100804131300.8570fe77.sfr@canb.auug.org.au>
2010-08-04 4:17 ` linux-next: build warning after merge of the scsi tree James Bottomley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox