Re: [RESEND, PATCH v7 04/11] pwm: mediatek: allocate the clks array dynamically

2019-09-18 Thread kbuild test robot
Hi Sam, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [cannot apply to v5.3 next-20190917] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify t

[RESEND, PATCH v7 04/11] pwm: mediatek: allocate the clks array dynamically

2019-09-17 Thread Sam Shih
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 Signed-off-by: Sam Shih Reviewed-by: Uwe Klein

[PATCH v7 04/11] pwm: mediatek: allocate the clks array dynamically

2019-08-29 Thread Sam Shih
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 Signed-off-by: Sam Shih Reviewed-by: Uwe Klein