mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
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>
This commit is contained in:
committed by
Sebastian Reichel
parent
e61af3ca89
commit
3416431ed2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user