Merge patch series "remoteproc: k3: Fix two Smatch issue reports"

Andrew Goodbody <andrew.goodbody@linaro.org> says:

Smatch reported two issues, firstly attempting to compare a u8 to a 16
bit macro and secondly a potentially uninitialised variable.

Link: https://lore.kernel.org/r/20250808-remoteproc_tik3-v1-0-f7dae0b177b2@linaro.org
This commit is contained in:
Tom Rini
2025-08-19 11:26:03 -06:00
2 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@
#include <linux/soc/ti/ti_sci_protocol.h>
#include "ti_sci_proc.h"
#define INVALID_ID 0xffff
#define INVALID_ID 0xff
#define GTC_CNTCR_REG 0x0
#define GTC_CNTFID0_REG 0x20

View File

@@ -441,7 +441,7 @@ proc_release:
static int k3_r5f_split_reset(struct k3_r5f_core *core)
{
int ret;
int ret = 0;
dev_dbg(core->dev, "%s\n", __func__);
@@ -476,7 +476,7 @@ static int k3_r5f_unprepare(struct udevice *dev)
{
struct k3_r5f_core *core = dev_get_priv(dev);
struct k3_r5f_cluster *cluster = core->cluster;
int ret;
int ret = 0;
dev_dbg(dev, "%s\n", __func__);