]> git.baikalelectronics.ru Git - kernel.git/commit
amd-xgbe: Resolve checkpatch warning about sscanf usage
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Tue, 24 Jun 2014 21:19:35 +0000 (16:19 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jun 2014 00:14:04 +0000 (17:14 -0700)
commitc29c75fff3916d94e26f65047f1dcd8c1be83837
treed0c63d120b8f0a27afde54a8802eb2975e865b3f
parent740fcf28835777f9feaa4723790fae4d8e49fdfb
amd-xgbe: Resolve checkpatch warning about sscanf usage

Checkpatch issued a warning preferring to use kstrto<type> when
using a single variable sscanf.  Change the sscanf invocation to
a kstrtouint call.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c