aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2024-09-08 12:27:45 +0300
committerChristian Brauner <[email protected]>2024-09-09 10:51:20 +0200
commit4ad5f9a021bd7e3a48a8d11c52cef36d5e05ffcc (patch)
treeba3242693078a3d20ad9b1c9eb3154b78c7af805 /lib/crypto/mpi/mpi-sub-ui.c
parentd80b065bb1721f88be705ca1dfc69ec1c685925e (diff)
proc: fold kmalloc() + strcpy() into kmemdup()
strcpy() will recalculate string length second time which is unnecessary in this case. Signed-off-by: Alexey Dobriyan <[email protected]> Link: https://lore.kernel.org/r/90af27c1-0b86-47a6-a6c8-61a58b8aa747@p183 Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions