Re: [PATCH v3 0/3] Fix static analyser and compiler warnings in int3472
"Rafael J. Wysocki (Intel)" <[email protected]>
| Newsgroups | org.kernel.vger.linux-acpi,org.kernel.vger.linux-media,org.kernel.vger.platform-driver-x86 |
|---|---|
| Message-ID | <CAJZ5v0iavt9xmvRufb7jq2F+gdgQCbuf2kyNcs5EpUfh5nwA1A@mail.gmail.com> |
On Tue, Aug 25, 2026 at 10:35 PM Sakari Ailus <[email protected]> wrote: > > Hi folks, > > The two first patches address smatch and compiler warnings in int3472. The > third patch clean up GPIO parsing in the int3472 driver. > > since v2: > > - Drop the __free(ACPI_FREE) change. > > - Move ACPI_FREE() earlier in the function and save the object's integer > value into a local variable. > > - Fix return values -- 0 was returned by v2 in some cases where 1 was the > right value. > > Sakari Ailus (3): > platform/x86: int3472: Address Coccinelle warning on an error print > platform/x86: int3472: Fix uninitialised variable warning > platform/x86: int3472: Clean up GPIO parsing > > drivers/platform/x86/intel/int3472/discrete.c | 51 +++++++++---------- > drivers/platform/x86/intel/int3472/tps68470.c | 2 +- > 2 files changed, 25 insertions(+), 28 deletions(-) > > > base-commit: 56c29fa3ee666197516a231e75aed789ae9c530d > -- Acked-by: Rafael J. Wysocki (Intel) <[email protected]> for the series. Thanks!