diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-04-05 20:19:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-06 22:33:17 +0200 |
commit | 5865ccce7eac9bb520d7dacfb48cb72764ed10c3 (patch) | |
tree | 12ff128c9c1ea1b7741382b9f1595396ff897abc /drivers/scsi/mpt3sas | |
parent | net/sched: Removed unused vlan actions definition (diff) | |
download | linux-5865ccce7eac9bb520d7dacfb48cb72764ed10c3.tar.xz linux-5865ccce7eac9bb520d7dacfb48cb72764ed10c3.zip |
net: dsa: loop: Fix uninitialized pvid variable
Dan's static analyzer reported the following:
drivers/net/dsa/dsa_loop.c:181 dsa_loop_port_vlan_del()
error: XXX uninitialized symbol 'pvid'.
we were missing the assignment of pvid to ps->vid, so add that.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 98cd1552ea27 ("net: dsa: Mock-up driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/mpt3sas')
0 files changed, 0 insertions, 0 deletions