commit | 1898d4e404a5f0095071fa3ae178a1d066360fbb | [log] [tgz] |
---|---|---|
author | Salil <salil.mehta@huawei.com> | Fri Aug 18 12:31:39 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 18 10:31:56 2017 -0700 |
tree | 572d7c610abcd9b48aab5857bfda25c763dee681 | |
parent | 9db85f33c0d724ce9251ad80dff49aa7bdbd95af [diff] |
net: hns3: Fixes the static check warning due to missing unsupp L3 proto check This patch fixes the static check warning due to missing handling leg of unsupported L3 protocol type in the hns3_get_l4_protocol() function. Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>