]> git.baikalelectronics.ru Git - kernel.git/commit
Input: adxl34x - fix sparse warning
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 13 Oct 2021 02:46:37 +0000 (19:46 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 16 Oct 2021 01:39:32 +0000 (18:39 -0700)
commit201bd9df4a8a5a2804c391861e559b6e0972b490
tree7c77c4019ebc1dbf293461df9d9edc934ee9c7f6
parente51ca339856ca3dc2dfd7d3d5b91116b6dfbbf4f
Input: adxl34x - fix sparse warning

This fixes the following warning from sparse:

  CC [M]  drivers/input/misc/adxl34x.o
  CHECK   drivers/input/misc/adxl34x.c
drivers/input/misc/adxl34x.c:245:29: warning: cast to restricted __le16
drivers/input/misc/adxl34x.c:248:29: warning: cast to restricted __le16
drivers/input/misc/adxl34x.c:251:29: warning: cast to restricted __le16

Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/YWZIjb91d6aAwgss@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/adxl34x.c