login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
30
Re: [PATCH 02/10] scsi: fix integer as NULL pointer warnings
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Harvey Harrison <harvey.harrison@...>
To: James Bottomley <James.Bottomley@...>
Cc: Andrew Morton <akpm@...>, LKML <linux-kernel@...>, linux-scsi <linux-scsi@...>
Subject:
Re: [PATCH 02/10] scsi: fix integer as NULL pointer warnings
Date: Wednesday, April 30, 2008 - 6:34 pm
On Wed, 2008-04-30 at 17:29 -0500, James Bottomley wrote:
quoted text
> On Wed, 2008-04-30 at 15:03 -0700, Harvey Harrison wrote: > > drivers/scsi/FlashPoint.c:906:9: warning: Using plain integer as NULL pointer > > drivers/scsi/FlashPoint.c:907:53: warning: Using plain integer as NULL pointer > > drivers/scsi/FlashPoint.c:922:1: warning: Using plain integer as NULL pointer
quoted text
> The flashpoint initialiser changes look wrong: {0} is a conventional > notation for zero initialise this structure. Sparse should probably be > taught to recognise that.
Actually, looking closer, should this be initialized at all? Can we just remove the initialization here and let them end up in .bss? Harvey --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 02/10] scsi: fix integer as NULL pointer warnings
, Harvey Harrison
, (Wed Apr 30, 6:03 pm)
Re: [PATCH 02/10] scsi: fix integer as NULL pointer warnings
, Alan Cox
, (Wed Apr 30, 7:29 pm)
Re: [PATCH 02/10] scsi: fix integer as NULL pointer warnings
, James Bottomley
, (Wed Apr 30, 6:29 pm)
RE: [PATCH 02/10] scsi: fix integer as NULL pointer warnings
, Mark Harvey
, (Thu May 1, 5:50 pm)
Re: [PATCH 02/10] scsi: fix integer as NULL pointer warnings
, Harvey Harrison
, (Wed Apr 30, 6:34 pm)
Re: [PATCH 02/10] scsi: fix integer as NULL pointer warnings
, James Bottomley
, (Wed Apr 30, 6:54 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Paul Jackson
Re: cpuset-remove-sched-domain-hooks-from-cpusets
Rafael J. Wysocki
[Bug #11210] libata badness
linux-netdev
:
David Miller
Re: [GIT]: Networking
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Andrew Morton
Re: [BUG] New Kernel Bugs
openbsd-misc
:
git
:
Colocation donated by:
Who's online
There are currently
2 users
and
815 guests
online.
Online users
strcmp
1stcomprepair
Syndicate