ipmi: Fix strcpy source and destination the same
[ Upstream commit 8ffcb756 ] 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:kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202506140756.EFXXvIP4-lkp@intel.com/ Signed-off-by:
Corey Minyard <corey@minyard.net> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading