[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOOmCE85enO=C+i8SUAroJpMCi7cGYvJ5TOCgsVbL2b-6pPpNw@mail.gmail.com>
Date: Tue, 1 Aug 2023 10:10:05 -0500
From: Jorge Lopez <jorgealtxwork@...il.com>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: hdegoede@...hat.com, platform-driver-x86@...r.kernel.org,
linux-kernel@...r.kernel.org, thomas@...ch.de,
ilpo.jarvinen@...ux.intel.com
Subject: Re: [PATCH 0/8] hp-bioscfg: Overall fixes and code cleanup
Ok. Thanks for the clarification. I will remove 'value_len' and
replace all its references with 'size'.
On Tue, Aug 1, 2023 at 10:04 AM Dan Carpenter <dan.carpenter@...aro.org> wrote:
>
> On Tue, Aug 01, 2023 at 09:52:05AM -0500, Jorge Lopez wrote:
> > I will submit a new patch replacing 'value_len' for 'size' in line 267
> > as indicated.
> > 'value_len' is utilized earlier in the code so we cannot remove it
> > completely from the function.
> >
>
> After replacing size then it looks like this.
>
> $ grep value_len drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c
> int value_len = 0;
> &str_value, &value_len);
> &str_value, &value_len);
>
> It's a write only variable.
>
> regards,
> dan carpenter
>
Powered by blists - more mailing lists