Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 317911b8 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "coresight: stm: Fix deprecated function issue"

parents fc9b5225 66f17d20
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -557,7 +557,7 @@ static ssize_t traceid_show(struct device *dev,
	struct stm_drvdata *drvdata = dev_get_drvdata(dev->parent);

	val = drvdata->traceid;
	return sprintf(buf, "%#lx\n", val);
	return scnprintf(buf, PAGE_SIZE, "%#lx\n", val);
}

static ssize_t traceid_store(struct device *dev,