[PATCH mtd-utils] nanddump: check write function result for errors

Richard Weinberger richard at nod.at
Mon Jul 18 11:31:50 PDT 2016


Rafał,

Am 18.07.2016 um 16:51 schrieb Rafał Miłecki:
> On 18 July 2016 at 16:10, Richard Weinberger <richard at nod.at> wrote:
>> My patch too since it uses mtd-util's logging functions.
>> sys_errmsg(...)
>>
>> Could you please merge both patches and resend?
> 
> Oh, I didn't realize sys_errmsg does that. I assumed it logs into
> system log (which seemed like a weird idea to do). A bit confusing
> name. Thanks, I'll send V2.
> 

The sys_ prefix denotes that this function is used for syscall
errors. :-)

Thanks,
//richard



More information about the linux-mtd mailing list