lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240229181300.352077-1-helgaas@kernel.org>
Date: Thu, 29 Feb 2024 12:12:57 -0600
From: Bjorn Helgaas <helgaas@...nel.org>
To: Tomas Winkler <tomas.winkler@...el.com>,
	Arnd Bergmann <arnd@...db.de>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org,
	Bjorn Helgaas <bhelgaas@...gle.com>
Subject: [PATCH 0/3] mei: remove unnecessary NULL pointer checks

From: Bjorn Helgaas <bhelgaas@...gle.com>

After .probe() has returned success, drvdata has been set to a non-NULL
value, so there's no need to check for NULL in other callbacks.

Bjorn Helgaas (3):
  mei: gsc: remove unnecessary NULL pointer checks
  mei: txe: remove unnecessary NULL pointer checks
  mei: me: remove unnecessary NULL pointer checks

 drivers/misc/mei/gsc-me.c  | 17 ----------------
 drivers/misc/mei/pci-me.c  | 38 ++++++------------------------------
 drivers/misc/mei/pci-txe.c | 40 ++++++--------------------------------
 3 files changed, 12 insertions(+), 83 deletions(-)

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ