linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ems_usb: endianess warning
@ 2015-03-14 14:30 Marc Kleine-Budde
  2015-03-24 18:02 ` Gerhard Uttenthaler
  0 siblings, 1 reply; 8+ messages in thread
From: Marc Kleine-Budde @ 2015-03-14 14:30 UTC (permalink / raw)
  To: linux-can; +Cc: Sebastian Haas, Sebastian Haas

[-- Attachment #1: Type: text/plain, Size: 821 bytes --]

Hello,

when compiling with sparse (make C=2), the ems driver throws the
following warning, can someone, preferred the driver author :), take
care of fixing them?

> drivers/net/can/usb/ems_usb.c:312:22: warning: cast to restricted __le32
> drivers/net/can/usb/ems_usb.c:787:29: warning: incorrect type in assignment (different base types)
> drivers/net/can/usb/ems_usb.c:787:29:    expected unsigned int [unsigned] [usertype] id
> drivers/net/can/usb/ems_usb.c:787:29:    got restricted __le32 [usertype] <noident>

regards,
Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-03-25 11:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-14 14:30 ems_usb: endianess warning Marc Kleine-Budde
2015-03-24 18:02 ` Gerhard Uttenthaler
2015-03-25  8:34   ` Marc Kleine-Budde
2015-03-25  8:44     ` Marc Kleine-Budde
2015-03-25  9:32       ` Gerhard Uttenthaler
2015-03-25  9:38         ` Marc Kleine-Budde
2015-03-25 10:17           ` Gerhard Uttenthaler
2015-03-25 11:12             ` Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).