From: Marc Kleine-Budde <mkl@pengutronix.de>
To: "linux-can@vger.kernel.org" <linux-can@vger.kernel.org>
Cc: Matthias Fuchs <matthias.fuchs@esd.eu>
Subject: esd_usb2: endianess warning
Date: Sat, 14 Mar 2015 15:33:09 +0100 [thread overview]
Message-ID: <550446A5.80702@pengutronix.de> (raw)
[-- 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 --]
next reply other threads:[~2015-03-14 14:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-14 14:33 Marc Kleine-Budde [this message]
2015-03-16 7:14 ` esd_usb2: endianess warning Matthias Fuchs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=550446A5.80702@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=linux-can@vger.kernel.org \
--cc=matthias.fuchs@esd.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.