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)
commit66f95c35c413f674a835034dc667099b44225df2
treed0c63d120b8f0a27afde54a8802eb2975e865b3f
parentb85e4d8960f10e4b28613a3e7b76f8889a2089e3
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
This page took 0.040111 seconds and 5 git commands to generate.