Re: [PATCH v3] nvmem: check invalid number of bytes in nvmem_{read,write}()

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

 





After applying this patch I get below errors with W=1 C=1

On 11/12/18 09:24, Biju Das wrote:
+	if (unlikely(check_add_overflow(bytes, offset, &new_bytes)))
+		return -EOVERFLOW;
drivers/nvmem/core.c:82:13: error: incompatible types in comparison
expression (different type sizes)
drivers/nvmem/core.c:82:13: error: incompatible types in comparison expression (different type sizes) drivers/nvmem/core.c:113:13: error: incompatible types in comparison expression (different type sizes) drivers/nvmem/core.c:113:13: error: incompatible types in comparison expression (different type sizes)



--srini



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux