Re: [PATCH] blktrace: fix integer parse

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/19/2017 09:04 AM, Shaohua Li wrote:
> 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.

Thanks Shaohua, applied.

-- 
Jens Axboe




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux