net/sfc/base: resolve code analysis warnings
authorRichard Houldsworth <rhouldsworth@solarflare.com>
Tue, 20 Feb 2018 07:34:01 +0000 (07:34 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:42 +0000 (14:08 +0200)
commit667d40513f24f2220dfa7a31f98b336f06257e2c
tree6b45a8e91506413c47b67b42b6bdd2956338749c
parent400ba3daeeb1657ea0e6ebfdcddd628c0e8267e0
net/sfc/base: resolve code analysis warnings

Minimal changes adding buffer size checks and simplifying checksum
processing.

Signed-off-by: Richard Houldsworth <rhouldsworth@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx_bootcfg.c