summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/pensando/ionic/ionic_lif.c
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@amd.com>2023-12-04 11:22:33 -0800
committerJakub Kicinski <kuba@kernel.org>2023-12-05 20:20:19 -0800
commit0ceb3860a67652f9d36dfdecfcd2cb3eb2f4537d (patch)
tree257b65987c83f6853023278aa44905a38df206e5 /drivers/net/ethernet/pensando/ionic/ionic_lif.c
parent58d3aade20cdddbac6c9707ac0f3f5f8c1278b74 (diff)
ionic: fix snprintf format length warning
Our friendly kernel test robot has reminded us that with a new check we have a warning about a potential string truncation. In this case it really doesn't hurt anything, but it is worth addressing especially since there really is no reason to reserve so many bytes for our queue names. It seems that cutting the queue name buffer length in half stops the complaint. Fixes: c06107cabea3 ("ionic: more ionic name tweaks") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202311300201.lO8v7mKU-lkp@intel.com/ Signed-off-by: Shannon Nelson <shannon.nelson@amd.com> Reviewed-by: Brett Creeley <brett.creeley@amd.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://lore.kernel.org/r/20231204192234.21017-2-shannon.nelson@amd.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic/ionic_lif.c')
0 files changed, 0 insertions, 0 deletions