net/mlx4_core: Replace sscanf() with kstrtoint()
authorDotan Barak <dotanb@dev.mellanox.com>
Tue, 25 Jun 2013 09:09:36 +0000 (12:09 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jun 2013 23:29:39 +0000 (16:29 -0700)
commit618fad954b9becf095f1b52391af29f743ff4662
tree60570dc4a175db121cf2c099bd6404452cf77c07
parent42f1e9020e22d64d18292c6cb9182f4beeb43cad
net/mlx4_core: Replace sscanf() with kstrtoint()

It is not safe to use sscanf.

Signed-off-by: Dotan Barak <dotanb@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>
drivers/net/ethernet/mellanox/mlx4/main.c