Re: [PATCH] drivers: iio: dac: Fix sparse warning

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

 



On 09/24/2016 06:18 PM, Jonathan Cameron wrote:
> On 23/09/16 20:20, Sandhya Bankar wrote:
>> Fixing below warnings:
>>
>> drivers/iio/dac/ad5592r.c:58:41: warning: incorrect type in argument 2 (different base types)
>> drivers/iio/dac/ad5592r.c:58:41:    expected unsigned short [usertype] *buf
>> drivers/iio/dac/ad5592r.c:58:41:    got restricted __be16 *<noident>
>> drivers/iio/dac/ad5592r.c:62:41: warning: incorrect type in argument 2 (different base types)
>> drivers/iio/dac/ad5592r.c:62:41:    expected unsigned short [usertype] *buf
>> drivers/iio/dac/ad5592r.c:62:41:    got restricted __be16 *<noident>
>> drivers/iio/dac/ad5592r.c:92:41: warning: incorrect type in argument 2 (different base types)
>> drivers/iio/dac/ad5592r.c:92:41:    expected unsigned short [usertype] *buf
>> drivers/iio/dac/ad5592r.c:92:41:    got restricted __be16 *<noident>
>> drivers/iio/dac/ad5592r.c:110:41: warning: incorrect type in argument 2 (different base types)
>> drivers/iio/dac/ad5592r.c:110:41:    expected unsigned short [usertype] *buf
>> drivers/iio/dac/ad5592r.c:110:41:    got restricted __be16 *<noident>
>>
>> Signed-off-by: Sandhya Bankar <bankarsandhya512@xxxxxxxxx>
> Looks good to me.  Lars, will be a while before I send next pull if
> you want to comment on this as well.

Looks good, thanks.

Acked-by: Lars-Peter Clausen <lars@xxxxxxxxxx>

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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux