Messages in this thread | | | From | Bean Huo <> | Subject | RE: [PATCH v6] mtd:nor:timeout:fix do_write_buffer() timeout error | Date | Thu, 17 Jul 2014 00:54:17 +0000 |
| |
> 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/
| |