Skip to content

Commit 3416431

Browse files
nehebsre
authored andcommitted
HSI: omap_ssi_port: remove null check from FAM
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> Link: https://patch.msgid.link/20260321034117.3746-1-rosenp@gmail.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
1 parent e61af3c commit 3416431

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/hsi/controllers/omap_ssi_port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ static int ssi_port_probe(struct platform_device *pd)
11181118

11191119
dev_dbg(&pd->dev, "init ssi port...\n");
11201120

1121-
if (!ssi->port || !omap_ssi->port) {
1121+
if (!omap_ssi->port) {
11221122
dev_err(&pd->dev, "ssi controller not initialized!\n");
11231123
err = -ENODEV;
11241124
goto error;

0 commit comments

Comments
 (0)