Re: [PATCH v2 1/8] pinctrl: stm32: fix debug print of uninitialized variable

2019-10-28 Thread Sascha Hauer
On Mon, Oct 28, 2019 at 12:18:25AM +0100, Ahmad Fatoum wrote: > mode and alt are printed with the dev_dbg before they are initialized. > Remedy this by moving the dev_dbg after them. > > Signed-off-by: Ahmad Fatoum > --- > drivers/pinctrl/pinctrl-stm32.c | 6 +++--- > 1 file changed, 3

[PATCH v2 1/8] pinctrl: stm32: fix debug print of uninitialized variable

2019-10-27 Thread Ahmad Fatoum
mode and alt are printed with the dev_dbg before they are initialized. Remedy this by moving the dev_dbg after them. Signed-off-by: Ahmad Fatoum --- drivers/pinctrl/pinctrl-stm32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/pinctrl-stm32.c