aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2017-01-08 22:10:40 +0100
committerUlf Hansson <[email protected]>2017-02-13 13:20:11 +0100
commit63928d4789ebb3f7d35d9261089b3bcc98ae0632 (patch)
tree5acb8abf5669b3e2abfe88770d7e56ad4b025531 /tools/perf/scripts/python
parent3972a20b51c8bb887d13f5656d6fa93bf3d4fc46 (diff)
mmc: core: Use kmalloc_array() in mmc_alloc_sg()
* A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle software. * Replace the specification of a data structure by a pointer dereference to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Markus Elfring <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Reviewed-by: Shawn Lin <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions