* esd_usb2: endianess warning
@ 2015-03-14 14:33 Marc Kleine-Budde
2015-03-16 7:14 ` Matthias Fuchs
0 siblings, 1 reply; 2+ messages in thread
From: Marc Kleine-Budde @ 2015-03-14 14:33 UTC (permalink / raw)
To: linux-can; +Cc: Matthias Fuchs
[-- Attachment #1: Type: text/plain, Size: 806 bytes --]
Hello,
when compiling with sparse (make C=2), the esd driver throws the
following warning, can someone, preferred the driver author :), take
care of fixing them?
> drivers/net/can/usb/esd_usb2.c:369:53: warning: restricted __le32 degrades to integer
> drivers/net/can/usb/esd_usb2.c:791:25: warning: incorrect type in assignment (different base types)
> drivers/net/can/usb/esd_usb2.c:791:25: expected restricted __le32 [usertype] hnd
> drivers/net/can/usb/esd_usb2.c:791:25: got unsigned int
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] 2+ messages in thread
* Re: esd_usb2: endianess warning
2015-03-14 14:33 esd_usb2: endianess warning Marc Kleine-Budde
@ 2015-03-16 7:14 ` Matthias Fuchs
0 siblings, 0 replies; 2+ messages in thread
From: Matthias Fuchs @ 2015-03-16 7:14 UTC (permalink / raw)
To: Marc Kleine-Budde, linux-can, Thomas Körper
Marc,
Thomas will care about maintainership of this driver from now on.
He will post a patch soon.
Matthias
On 14.03.2015 15:33, Marc Kleine-Budde wrote:
> Hello,
>
> when compiling with sparse (make C=2), the esd driver throws the
> following warning, can someone, preferred the driver author :), take
> care of fixing them?
>
>> drivers/net/can/usb/esd_usb2.c:369:53: warning: restricted __le32 degrades to integer
>> drivers/net/can/usb/esd_usb2.c:791:25: warning: incorrect type in assignment (different base types)
>> drivers/net/can/usb/esd_usb2.c:791:25: expected restricted __le32 [usertype] hnd
>> drivers/net/can/usb/esd_usb2.c:791:25: got unsigned int
>
> regards,
> Marc
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-16 7:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-14 14:33 esd_usb2: endianess warning Marc Kleine-Budde
2015-03-16 7:14 ` Matthias Fuchs
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).