aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorShaohua Li <[email protected]>2017-05-19 15:04:59 +0000
committerJens Axboe <[email protected]>2017-05-19 15:21:15 +0000
commit5f3394530fbe90d3bcd1c204618960bc50236578 (patch)
treefb7425b6f00ef9186ab270bb13149c2d8881434f /scripts/gcc-plugins/gcc-common.h
parentfuseblk: Fix warning in super_setup_bdi_name() (diff)
downloadkernel-5f3394530fbe90d3bcd1c204618960bc50236578.tar.gz
kernel-5f3394530fbe90d3bcd1c204618960bc50236578.zip
blktrace: fix integer parse
sscanf is a very poor way to parse integer. For example, I input "discard" for act_mask, it gets 0xd and completely messes up. Using correct API to do integer parse. This patch also makes attributes accept any base of integer. Signed-off-by: Shaohua Li <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions