mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] HSI: omap_ssi_port: remove null check from FAM
@ 2026-03-21  3:41 Rosen Penev
  2026-03-25  0:54 ` Sebastian Reichel
  0 siblings, 1 reply; 2+ messages in thread
From: Rosen Penev @ 2026-03-21  3:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: Sebastian Reichel

A flexible array member is never NULL.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202603210057.1LRz5tNA-lkp@intel.com/
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 drivers/hsi/controllers/omap_ssi_port.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hsi/controllers/omap_ssi_port.c b/drivers/hsi/controllers/omap_ssi_port.c
index 50dde968febe..73932d7257d3 100644
--- a/drivers/hsi/controllers/omap_ssi_port.c
+++ b/drivers/hsi/controllers/omap_ssi_port.c
@@ -1118,7 +1118,7 @@ static int ssi_port_probe(struct platform_device *pd)
 
 	dev_dbg(&pd->dev, "init ssi port...\n");
 
-	if (!ssi->port || !omap_ssi->port) {
+	if (!omap_ssi->port) {
 		dev_err(&pd->dev, "ssi controller not initialized!\n");
 		err = -ENODEV;
 		goto error;
-- 
2.53.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] HSI: omap_ssi_port: remove null check from FAM
  2026-03-21  3:41 [PATCH] HSI: omap_ssi_port: remove null check from FAM Rosen Penev
@ 2026-03-25  0:54 ` Sebastian Reichel
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2026-03-25  0:54 UTC (permalink / raw)
  To: linux-kernel, Rosen Penev; +Cc: Sebastian Reichel


On Fri, 20 Mar 2026 20:41:17 -0700, Rosen Penev wrote:
> A flexible array member is never NULL.
> 
> 

Applied, thanks!

[1/1] HSI: omap_ssi_port: remove null check from FAM
      commit: 3416431ed281e1d9c729c66e0509803d3fcc5041

Best regards,
-- 
Sebastian Reichel <sebastian.reichel@collabora.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-25  0:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-21  3:41 [PATCH] HSI: omap_ssi_port: remove null check from FAM Rosen Penev
2026-03-25  0:54 ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®