All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: "linux-can@vger.kernel.org" <linux-can@vger.kernel.org>
Cc: Sebastian Haas <haas@ems-wuensche.com>,
	Sebastian Haas <dev@sebastianhaas.info>
Subject: ems_usb: endianess warning
Date: Sat, 14 Mar 2015 15:30:56 +0100	[thread overview]
Message-ID: <55044620.60903@pengutronix.de> (raw)

[-- 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 --]

             reply	other threads:[~2015-03-14 14:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-14 14:30 Marc Kleine-Budde [this message]
2015-03-24 18:02 ` ems_usb: endianess warning 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

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=55044620.60903@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=dev@sebastianhaas.info \
    --cc=haas@ems-wuensche.com \
    --cc=linux-can@vger.kernel.org \
    /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.