diff options
| author | Steve French <[email protected]> | 2015-03-27 03:41:59 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2015-04-01 05:01:47 +0000 |
| commit | 064bcc0702a83aed29220bee3b3db3f968c5d8ae (patch) | |
| tree | a5f6e9f1614b7f0b8c37c29f3097e2f112eb8bb5 /net/switchdev/switchdev.c | |
| parent | Fix dereference before null check warning (diff) | |
| download | kernel-064bcc0702a83aed29220bee3b3db3f968c5d8ae.tar.gz kernel-064bcc0702a83aed29220bee3b3db3f968c5d8ae.zip | |
Fix coverity warning
Coverity reports a warning for referencing the beginning of the
SMB2/SMB3 frame using the ProtocolId field as an array. Although
it works the same either way, this patch should quiet the warning
and might be a little clearer.
Reported by Coverity (CID 741269)
Signed-off-by: Steve French <[email protected]>
Acked-by: Shirish Pargaonkar <[email protected]>
Acked-by: Sachin Prabhu <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
