drivers: hwtracing: coresight: Fix sometimes-uninitialized errors

Change-Id: Ia0a6242bec8ceaa27ef623a668e032a08e5fab0d
This commit is contained in:
Nolen Johnson 2026-06-24 21:27:17 -04:00
commit ce01923678

View file

@ -80,7 +80,7 @@ static ssize_t tmc_etr_byte_cntr_read(struct file *fp, char __user *data,
size_t len, loff_t *ppos)
{
struct byte_cntr *byte_cntr_data = fp->private_data;
char *bufp;
char *bufp = NULL;
int ret = 0;
if (!data)
return -EINVAL;