mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
drivers: hwtracing: coresight: Fix sometimes-uninitialized errors
Change-Id: Ia0a6242bec8ceaa27ef623a668e032a08e5fab0d
This commit is contained in:
parent
ae1cc25c5a
commit
ce01923678
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue