Re: [PATCH 02/17] Use memberof(T, m) instead of explicit NULL dereference

From: Rafael J. Wysocki
Date: Tue Nov 23 2021 - 13:07:37 EST


On Fri, Nov 19, 2021 at 12:37 PM Alejandro Colomar
<alx.manpages@xxxxxxxxx> wrote:
>
> Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>
> Cc: Ajit Khaparde <ajit.khaparde@xxxxxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Cc: Arnd Bergmann <arnd@xxxxxxxx>
> Cc: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
> Cc: Borislav Petkov <bp@xxxxxxx>
> Cc: Corey Minyard <cminyard@xxxxxxxxxx>
> Cc: Chris Mason <clm@xxxxxx>
> Cc: Christian Brauner <christian.brauner@xxxxxxxxxx>
> Cc: David Sterba <dsterba@xxxxxxxx>
> Cc: Jani Nikula <jani.nikula@xxxxxxxxxxxxxxx>
> Cc: Jason Wang <jasowang@xxxxxxxxxx>
> Cc: Jitendra Bhivare <jitendra.bhivare@xxxxxxxxxxxx>
> Cc: John Hubbard <jhubbard@xxxxxxxxxx>
> Cc: John S. Gruber <JohnSGruber@xxxxxxxxx>
> Cc: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
> Cc: Josef Bacik <josef@xxxxxxxxxxxxxx>
> Cc: Kees Cook <keescook@xxxxxxxxxxxx>
> Cc: Ketan Mukadam <ketan.mukadam@xxxxxxxxxxxx>
> Cc: Len Brown <lenb@xxxxxxxxxx>
> Cc: "Michael S. Tsirkin" <mst@xxxxxxxxxx>
> Cc: Miguel Ojeda <ojeda@xxxxxxxxxx>
> Cc: Mike Rapoport <rppt@xxxxxxxxxxxxx>
> Cc: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
> Cc: "Rafael J. Wysocki" <rafael@xxxxxxxxxx>
> Cc: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>
> Cc: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
> Cc: Russell King <linux@xxxxxxxxxxxxxxx>
> Cc: Somnath Kotur <somnath.kotur@xxxxxxxxxxxx>
> Cc: Sriharsha Basavapatna <sriharsha.basavapatna@xxxxxxxxxxxx>
> Cc: Subbu Seetharaman <subbu.seetharaman@xxxxxxxxxxxx>
> Cc: <intel-gfx@xxxxxxxxxxxxxxxxxxxxx>
> Cc: <linux-acpi@xxxxxxxxxxxxxxx>
> Cc: <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>
> Cc: <linux-btrfs@xxxxxxxxxxxxxxx>
> Cc: <linux-scsi@xxxxxxxxxxxxxxx>
> Cc: <netdev@xxxxxxxxxxxxxxx>
> Cc: <virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> arch/x86/include/asm/bootparam_utils.h | 3 ++-
> arch/x86/kernel/signal_compat.c | 5 +++--
> drivers/gpu/drm/i915/i915_utils.h | 5 ++---
> drivers/gpu/drm/i915/intel_runtime_pm.h | 2 +-
> drivers/net/ethernet/emulex/benet/be.h | 7 ++++---
> drivers/net/ethernet/i825xx/ether1.c | 7 +++++--
> drivers/scsi/be2iscsi/be.h | 7 ++++---
> drivers/scsi/be2iscsi/be_cmds.h | 5 ++++-
> fs/btrfs/ctree.h | 5 +++--
> include/acpi/actypes.h | 4 +++-

The change in actypes.h would need to be submitted to the upstream
ACPICA project via https://github.com/acpica/acpica/

Thanks!

> include/linux/container_of.h | 6 +++---
> include/linux/virtio_config.h | 14 +++++++-------
> 12 files changed, 41 insertions(+), 29 deletions(-)