Commit dc826121 authored by Corey Minyard's avatar Corey Minyard Committed by Greg Kroah-Hartman
Browse files

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: 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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a12feec5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment