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
| ||
|
Date: Sat, 24 Aug 2019 02:33:15 +0200 From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de> To: Sam Shih <sam.shih@...iatek.com> Cc: Rob Herring <robh+dt@...nel.org>, Mark Rutland <mark.rutland@....com>, Matthias Brugger <matthias.bgg@...il.com>, Thierry Reding <thierry.reding@...il.com>, Ryder Lee <ryder.lee@...iatek.com>, John Crispin <john@...ozen.org>, linux-pwm@...r.kernel.org, devicetree@...r.kernel.org, linux-kernel@...r.kernel.org, linux-mediatek@...ts.infradead.org Subject: Re: [PATCH v5 04/13] pwm: mediatek: allocate the clks array dynamically On Thu, Aug 22, 2019 at 02:58:34PM +0800, Sam Shih wrote: > Instead of using fixed size of arrays, allocate the memory for them > based on the information we get from the DT. > > Also remove the check for num_pwms, due to dynamically allocate pwm > should not cause array index out of bound. > > Signed-off-by: Ryder Lee <ryder.lee@...iatek.com> > Signed-off-by: Sam Shih <sam.shih@...iatek.com> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de> Thanks Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |
Powered by blists - more mailing lists