lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <BLU185-W53748517956B27745D7033A6F40@phx.gbl> Date: Thu, 17 Jul 2014 00:54:17 +0000 From: Bean Huo <beanhuo@...look.com> To: Brian Norris <computersforpeace@...il.com> CC: David Woodhouse <dwmw2@...radead.org>, Huang Shijie <b32955@...escale.com>, Artem Bityutskiy <artem.bityutskiy@...ux.intel.com>, Jingoo Han <jg1.han@...sung.com>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Paul Gortmaker <paul.gortmaker@...driver.com>, "linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>, "christian.riesch@...cron.at" <christian.riesch@...cron.at> Subject: RE: [PATCH v6] mtd:nor:timeout:fix do_write_buffer() timeout error > 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@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists