mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
@@ -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
|
||||
|
||||
@@ -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__);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user