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