[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200506.150038.89398054484090920.davem@davemloft.net>
Date: Wed, 06 May 2020 15:00:38 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: m-karicheri2@...com
Cc: kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [net-next PATCH] net: hsr: fix incorrect type usage for
protocol variable
From: Murali Karicheri <m-karicheri2@...com>
Date: Wed, 6 May 2020 11:41:07 -0400
> Fix following sparse checker warning:-
>
> net/hsr/hsr_slave.c:38:18: warning: incorrect type in assignment (different base types)
> net/hsr/hsr_slave.c:38:18: expected unsigned short [unsigned] [usertype] protocol
> net/hsr/hsr_slave.c:38:18: got restricted __be16 [usertype] h_proto
> net/hsr/hsr_slave.c:39:25: warning: restricted __be16 degrades to integer
> net/hsr/hsr_slave.c:39:57: warning: restricted __be16 degrades to integer
>
> Signed-off-by: Murali Karicheri <m-karicheri2@...com>
Applied.
Powered by blists - more mailing lists