]> 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)
commitef2c14eed5f48f606f46fed60c6c920e3c0a8e23
tree60570dc4a175db121cf2c099bd6404452cf77c07
parenta9785aaa517a5394a69cbf7470e42b38cae88596
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