]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit41d8121f7f5b846729a93855198c8cc30c697a9d
tree60570dc4a175db121cf2c099bd6404452cf77c07
parent65701db24552894af1c1392d8ad2062393252a5c
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