Commit 8ffcb756 authored by Corey Minyard's avatar Corey Minyard
Browse files

ipmi: Fix strcpy source and destination the same



The source and destination of some strcpy operations was the same.
Split out the part of the operations that needed to be done for those
particular calls so the unnecessary copy wasn't done.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202506140756.EFXXvIP4-lkp@intel.com/


Signed-off-by: default avatarCorey Minyard <corey@minyard.net>
parent cd2e103d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment