[lkml]   [2012]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: AHCI_SHT(), ATA_BASE_SHT() and .can_queue
On Fri, Jan 20, 2012 at 05:38:45PM +0000, Bart Van Assche wrote:
> Unfortunately sparse complains about that construct. It is annoying
> when checking e.g. drivers/scsi with sparse to see sparse complain
> many times about two different values being specified for .can_queue.
> Should the sparse authors remove that warning ?

I really don't know. Maybe sparse can provide explicit annotation
(e.g. multiple initializers for this struct is okay)? Maybe we can
just exclude duplicate initializer check on the few affected files.
Or, we can just keep ignoring them.



 \ /
  Last update: 2012-01-20 18:47    [W:0.051 / U:7.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site