lkml.org 
[lkml]   [2014]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v6] mtd:nor:timeout:fix do_write_buffer() timeout error
Date



> Hi Bean,

>> + cfi->chips[i].buffer_write_time_max =
>> + ((cfi->chips[i].buffer_write_time_max>= 2000)
>> + ? cfi->chips[i].buffer_write_time_max : 2000);
>
> This should just use the 'max()' macro, from <linux/kernel.h>.

> I have just fixed up your patch myself, to use max() and to improve some
> of the language. Let me know if the below works for you.

hi,Brian
 Thanks once again.I test and it works Ok.It can be accepted now? --
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2014-07-17 03:41    [W:0.073 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site