[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150817.121605.400650271118838786.davem@davemloft.net>
Date: Mon, 17 Aug 2015 12:16:05 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jesse.brandeburg@...el.com
Cc: joe@...ches.com, netdev@...r.kernel.org
Subject: Re: [net-next PATCH] net: fix endian check warning in etherdevice.h
From: Jesse Brandeburg <jesse.brandeburg@...el.com>
Date: Thu, 13 Aug 2015 18:34:03 -0700
> Sparse builds have been warning for a really long time now
> that etherdevice.h has a conversion that is unsafe.
>
> include/linux/etherdevice.h:79:32: warning: restricted __be16 degrades to integer
>
> This code change fixes the issue and generates the exact
> same assembly before/after (checked on x86_64)
>
> Fixes: 2c722fe1c821 (etherdevice: Optimize a few is_<foo>_ether_addr functions)
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@...el.com>
Applied, thanks Jesse.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists