pds_core: fix up some format-truncation complaints
authorShannon Nelson <shannon.nelson@amd.com>
Mon, 13 Nov 2023 18:32:57 +0000 (10:32 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Nov 2023 03:52:09 +0000 (19:52 -0800)
commit7c02f6ae676a954216a192612040f9a0cde3adf7
treea4d7ea2e8124e687625301fb4f5f7ef40ee88d19
parent09d4c14c6c5e6e781a3879fed7f8e116a18b8c65
pds_core: fix up some format-truncation complaints

Our friendly kernel test robot pointed out a couple of potential
string truncation issues.  None of which were we worried about,
but can be relatively easily fixed to quiet the complaints.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202310211736.66syyDpp-lkp@intel.com/
Fixes: 45d76f492938 ("pds_core: set up device and adminq")
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Link: https://lore.kernel.org/r/20231113183257.71110-3-shannon.nelson@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amd/pds_core/core.h
drivers/net/ethernet/amd/pds_core/dev.c
drivers/net/ethernet/amd/pds_core/devlink.c