lkml.org 
[lkml]   [2010]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: linux-next: build warning after merge of the scsi tree
From
Date
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




\
 
 \ /
  Last update: 2010-08-04 06:21    [W:0.033 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site