aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2016-05-31 22:03:43 +0300
committerLinus Walleij <[email protected]>2016-06-08 10:02:24 +0200
commitc4d1cbd7cf4dbad8d657e279605657c0fc3b2d46 (patch)
tree06dcef6dcee3275f2ebfb9051f9afafd251216ae /scripts/gdb/linux/proc.py
parent0ee37414991e1be21e0f168172f0ac260e375886 (diff)
gpio: pca953x: enfore type for i2c_smbus_write_word_data()
The commit 9b8e3ec34318 ("gpio: pca953x: Use correct u16 value for register word write") fixed regression in pca953x_write_regs(). At the same time the solution introduced a sparse warning: drivers/gpio/gpio-pca953x.c:168:39: warning: incorrect type in argument 3 (different base types) drivers/gpio/gpio-pca953x.c:168:39: expected unsigned short [unsigned] [usertype] value drivers/gpio/gpio-pca953x.c:168:39: got restricted __le16 [usertype] <noident> Fix the code by enforcing the type of i2c_smbus_write_word_data() parameter. Cc: Yong Li <[email protected]> Cc: Phil Reid <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions