Re: [PATCH V3 2/2] PM / OPP: Parse 'opp--' bindings

2016-01-05 Thread Viresh Kumar
On 05-01-16, 11:31, Geert Uytterhoeven wrote: > Any chance an attacker can overflow name[] by providing a very long > dev_opp->prop_name? > > Better safe than sorry: > > snprintf(name, sizeof(name), ...); Sent a patch to you.. -- viresh -- To unsubscribe from this list: send the line "

Re: [PATCH V3 2/2] PM / OPP: Parse 'opp--' bindings

2016-01-05 Thread Geert Uytterhoeven
Hi Viresh, On Wed, Dec 9, 2015 at 3:31 AM, Viresh Kumar wrote: > OPP bindings (for few properties) allow a platform to choose a > value/range among a set of available options. The options are present as > opp--, where the platform needs to supply the string. > > The OPP properties which allow su

Re: [PATCH V3 2/2] PM / OPP: Parse 'opp--' bindings

2015-12-10 Thread Viresh Kumar
On 10-12-15, 22:45, Rafael J. Wysocki wrote: > On Thursday, December 10, 2015 09:54:45 AM Lee Jones wrote: > > On 9 December 2015 at 02:31, Viresh Kumar wrote: > > > OPP bindings (for few properties) allow a platform to choose a > > > value/range among a set of available options. The options are p

Re: [PATCH V3 2/2] PM / OPP: Parse 'opp--' bindings

2015-12-10 Thread Rafael J. Wysocki
On Thursday, December 10, 2015 09:54:45 AM Lee Jones wrote: > On 9 December 2015 at 02:31, Viresh Kumar wrote: > > OPP bindings (for few properties) allow a platform to choose a > > value/range among a set of available options. The options are present as > > opp--, where the platform needs to supp

Re: [PATCH V3 2/2] PM / OPP: Parse 'opp--' bindings

2015-12-10 Thread Lee Jones
On 9 December 2015 at 02:31, Viresh Kumar wrote: > OPP bindings (for few properties) allow a platform to choose a > value/range among a set of available options. The options are present as > opp--, where the platform needs to supply the string. > > The OPP properties which allow such an option ar

[PATCH V3 2/2] PM / OPP: Parse 'opp--' bindings

2015-12-08 Thread Viresh Kumar
OPP bindings (for few properties) allow a platform to choose a value/range among a set of available options. The options are present as opp--, where the platform needs to supply the string. The OPP properties which allow such an option are: opp-microvolt and opp-microamp. Add support to the OPP-