Messages in this thread | | | Date | Wed, 13 Oct 2021 09:41:09 +0200 | From | Uwe Kleine-König <> | Subject | Re: [PATCH] Input: adxl34x - fix sparse warning |
| |
On Tue, Oct 12, 2021 at 07:46:37PM -0700, Dmitry Torokhov wrote: > 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
This was introduced (I think) in commit
e27c729219ad ("Input: add driver for ADXL345/346 Digital Accelerometers")
. Is this worth a Fixes: line, or mentioning in the commit log?
Other than that:
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Best regards Uwe
-- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ | [unhandled content-type:application/pgp-signature] | |