aboutsummaryrefslogtreecommitdiff
path: root/lib/strncpy_from_user.c
diff options
context:
space:
mode:
authorJames Clark <james.clark@arm.com>2022-08-30 18:26:13 +0100
committerMathieu Poirier <mathieu.poirier@linaro.org>2022-08-31 10:56:36 -0600
commit0a98181f805058773961c5ab3172ecf1bf1ed0e1 (patch)
tree2d3fe2b4f9573852c01633b0666085bdae072ac5 /lib/strncpy_from_user.c
parentfbca79e55429fe0f73b2d2d190fd86bfda52c41b (diff)
coresight: Make new csdev_access offsets unsigned
New csdev_access functions were added as part of the previous refactor. In order to make them more consistent with the existing ones, change any signed offset types to be unsigned. Now that they are unsigned, stop using hi_off = -1 to signify a single 32bit access. Instead just call the existing 32bit accessors. This is also applied to other parts of the codebase, and the coresight_{read,write}_reg_pair() functions can be deleted. Signed-off-by: James Clark <james.clark@arm.com> Reviewed-by: Mike Leach <mike.leach@linaro.org> Link: https://lore.kernel.org/r/20220830172614.340962-6-james.clark@arm.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions