aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRickard Strandqvist <[email protected]>2014-10-16 23:17:23 +0200
committerHerbert Xu <[email protected]>2014-10-24 22:52:27 +0800
commit61daf055ea42342dea1f7006833bc7cde20eeb34 (patch)
tree626d28dc2ce071460aa41a2a528a542e287c8a17 /tools/perf/scripts/python
parent77ddaba02bb83c4628b4fc1cf36b9ac81b9a7609 (diff)
hwrng: core - Changed from using strncat to strlcat
The buf is used to hold the list of hwrng devices registered. The old code ensures we don't walk off the end of buf as we fill it, but it's unnecessarily complicated and thus difficult to maintain. Simplify it by using strlcat. Signed-off-by: Rickard Strandqvist <[email protected]> Reviewed-by: Jason Cooper <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions