Re: Sparse warning in sata_nv.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/07/2010 03:54 AM, Stephen Hemminger wrote:
> Sparse complains about the following, not sure best way to fix it.
> Either change ATA_NCQ_SHT() or do manual expansion.

Hmm... that's an intended abuse of duplicate initializers.  The macro
provides stock values and each driver overrides fields as necessary
with duplicate initializers which come below the macro.  It would be
great if there's a way to tell sparse that an initializer may be
overridden.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux