diff options
author | Jack Morgenstein <jackm@dev.mellanox.com> | 2013-06-25 13:09:38 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-26 03:29:39 +0400 |
commit | 30e514a71753ac3fd0ddea1411d5602ccbe14acf (patch) | |
tree | 2c1c36a3eca88087efaeee18c8321051dd9e4d8e /drivers/net/mdio.c | |
parent | 674925edb466b027d7c61993ebe3250fb8989ee0 (diff) | |
download | linux-30e514a71753ac3fd0ddea1411d5602ccbe14acf.tar.xz |
net/mlx4_core: Fail device init if num_vfs is negative
Should not allow negative num_vfs
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mdio.c')
0 files changed, 0 insertions, 0 deletions