aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorMathieu Poirier <[email protected]>2020-04-20 17:15:58 -0600
committerBjorn Andersson <[email protected]>2020-04-20 19:29:29 -0700
commit1487deda19c82d30d1867277e89bc2d515b9d2d4 (patch)
tree97126b8e2f215d69b1193a1a20706bcdf07409aa /lib/mpi/mpi-mul.c
parent1f36ab3f6e3b791eadad94f792c874706e153b66 (diff)
remoteproc: Use kstrdup_const() rather than kstrdup()
For cases where @firmware is declared "const char *", use function kstrdup_const() to avoid needlessly creating another copy on the heap. Suggested-by: Bjorn Andersson <[email protected]> Signed-off-by: Mathieu Poirier <[email protected]> Reviewed-by: Alex Elder <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions