drivers/usb/typec/ucsi/ucsi_ccg.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
From: Markus Elfring <elfring@users.sourceforge.net> Date: Wed, 25 Sep 2024 19:19:01 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (2): Use common code in ccg_write() Use common code in ccg_read() drivers/usb/typec/ucsi/ucsi_ccg.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) -- 2.46.1
On Wed, Sep 25, 2024 at 07:31:04PM GMT, Markus Elfring wrote: > From: Markus Elfring <elfring@users.sourceforge.net> > Date: Wed, 25 Sep 2024 19:19:01 +0200 > > A few update suggestions were taken into account > from static source code analysis. > > Markus Elfring (2): > Use common code in ccg_write() > Use common code in ccg_read() > > drivers/usb/typec/ucsi/ucsi_ccg.c | 15 ++++++++------- > 1 file changed, 8 insertions(+), 7 deletions(-) For the series: Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> -- With best wishes Dmitry
On Thu, Sep 26, 2024 at 12:26:24AM +0300, Dmitry Baryshkov wrote: > On Wed, Sep 25, 2024 at 07:31:04PM GMT, Markus Elfring wrote: > > From: Markus Elfring <elfring@users.sourceforge.net> > > Date: Wed, 25 Sep 2024 19:19:01 +0200 > > > > A few update suggestions were taken into account > > from static source code analysis. > > > > Markus Elfring (2): > > Use common code in ccg_write() > > Use common code in ccg_read() > > > > drivers/usb/typec/ucsi/ucsi_ccg.c | 15 ++++++++------- > > 1 file changed, 8 insertions(+), 7 deletions(-) > > For the series: > > Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> I believe there is no-one to take it, but in any case the thing is that kfree() probably can be done using __free(). Then PM runtime handled differently. -- With Best Regards, Andy Shevchenko
On Thu, 26 Sept 2024 at 14:12, Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > > On Thu, Sep 26, 2024 at 12:26:24AM +0300, Dmitry Baryshkov wrote: > > On Wed, Sep 25, 2024 at 07:31:04PM GMT, Markus Elfring wrote: > > > From: Markus Elfring <elfring@users.sourceforge.net> > > > Date: Wed, 25 Sep 2024 19:19:01 +0200 > > > > > > A few update suggestions were taken into account > > > from static source code analysis. > > > > > > Markus Elfring (2): > > > Use common code in ccg_write() > > > Use common code in ccg_read() > > > > > > drivers/usb/typec/ucsi/ucsi_ccg.c | 15 ++++++++------- > > > 1 file changed, 8 insertions(+), 7 deletions(-) > > > > For the series: > > > > Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > > I believe there is no-one to take it, I guessed so. > but in any case the thing is that kfree() > probably can be done using __free(). Then PM runtime handled differently. That's a separate cleanup in my opinion. -- With best wishes Dmitry
On Thu, Sep 26, 2024 at 02:20:19PM +0200, Dmitry Baryshkov wrote: > On Thu, 26 Sept 2024 at 14:12, Andy Shevchenko > <andriy.shevchenko@linux.intel.com> wrote: > > On Thu, Sep 26, 2024 at 12:26:24AM +0300, Dmitry Baryshkov wrote: ... > > but in any case the thing is that kfree() > > probably can be done using __free(). Then PM runtime handled differently. > > That's a separate cleanup in my opinion. Yes and for that we do not need an intermediate change, right? -- With Best Regards, Andy Shevchenko
On Thu, 26 Sept 2024 at 14:27, Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > > On Thu, Sep 26, 2024 at 02:20:19PM +0200, Dmitry Baryshkov wrote: > > On Thu, 26 Sept 2024 at 14:12, Andy Shevchenko > > <andriy.shevchenko@linux.intel.com> wrote: > > > On Thu, Sep 26, 2024 at 12:26:24AM +0300, Dmitry Baryshkov wrote: > > ... > > > > but in any case the thing is that kfree() > > > probably can be done using __free(). Then PM runtime handled differently. > > > > That's a separate cleanup in my opinion. > > Yes and for that we do not need an intermediate change, right? I don't have a strong opinion here (and I don't feel a strong need to move existing code into using cleanup.h just for the sake of it). -- With best wishes Dmitry
© 2016 - 2024 Red Hat, Inc.