netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: Andrew Lunn <andrew@lunn.ch>, David Miller <davem@davemloft.net>
Cc: netdev <netdev@vger.kernel.org>, Heiner Kallweit <hkallweit1@gmail.com>
Subject: Re: [PATCH net-next 5/5] net: dsa: tag_qca.c: Fix warning for __be16 vs u16
Date: Sun, 5 Jul 2020 13:43:46 -0700	[thread overview]
Message-ID: <85ebf910-27ef-a1a6-65f6-91c8751192cd@gmail.com> (raw)
In-Reply-To: <20200705193008.889623-6-andrew@lunn.ch>



On 7/5/2020 12:30 PM, Andrew Lunn wrote:
> net/dsa/tag_qca.c:48:15: warning: incorrect type in assignment (different base types)
> net/dsa/tag_qca.c:48:15:    expected unsigned short [usertype]
> net/dsa/tag_qca.c:48:15:    got restricted __be16 [usertype]
> net/dsa/tag_qca.c:68:13: warning: incorrect type in assignment (different base types)
> net/dsa/tag_qca.c:68:13:    expected restricted __be16 [usertype] hdr
> net/dsa/tag_qca.c:68:13:    got int
> net/dsa/tag_qca.c:71:16: warning: restricted __be16 degrades to integer
> net/dsa/tag_qca.c:81:17: warning: restricted __be16 degrades to integer
> 
> Signed-off-by: Andrew Lunn <andrew@lunn.ch>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian

  reply	other threads:[~2020-07-05 20:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-05 19:30 [PATCH net-next 0/5] net: dsa: Fix C=1 W=1 warnings Andrew Lunn
2020-07-05 19:30 ` [PATCH net-next 1/5] net: dsa: Add __precpu property to prevent warnings Andrew Lunn
2020-07-05 20:40   ` Florian Fainelli
2020-07-05 19:30 ` [PATCH net-next 2/5] net: dsa: tag_ksz: Fix __be16 warnings Andrew Lunn
2020-07-05 20:41   ` Florian Fainelli
2020-07-05 19:30 ` [PATCH net-next 3/5] net: dsa: tag_lan9303: " Andrew Lunn
2020-07-05 20:44   ` Florian Fainelli
2020-07-05 19:30 ` [PATCH net-next 4/5] net: dsa: tag_mtk: Fix warnings for __be16 Andrew Lunn
2020-07-05 20:41   ` Florian Fainelli
2020-07-05 19:30 ` [PATCH net-next 5/5] net: dsa: tag_qca.c: Fix warning for __be16 vs u16 Andrew Lunn
2020-07-05 20:43   ` Florian Fainelli [this message]
2020-07-05 22:32 ` [PATCH net-next 0/5] net: dsa: Fix C=1 W=1 warnings David Miller

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=85ebf910-27ef-a1a6-65f6-91c8751192cd@gmail.com \
    --to=f.fainelli@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=hkallweit1@gmail.com \
    --cc=netdev@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 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).