On 05/04/2012 05:00 AM, Vikas Chaudhary wrote:
>> # echo 6 > /sys/class/scsi_host/host7/device/fw_dump
echo adds a newline by default. If you do echo -n it does not.
Does simple_strtol handle that but kstrol not handle it?
>>From above logs looks like sysfs attribute reading some extra garbage
>> >characters because of which
>> >'kstrtol()' fails but in same case 'simple_strtol()' works fine.
>> >
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[SCSI Target Devel]
[Linux SCSI Target Infrastructure]
[Kernel Newbies]
[Share Photos]
[IDE]
[Security]
[Git]
[Netfilter]
[Bugtraq]
[Photos]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Linux ATA RAID]
[Linux IIO]
[Samba]
[Video 4 Linux]
[Device Mapper]
[Linux Resources]