]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/mellanox: mlxbf-tmfifo: Fix a warning message
authorLiming Sun <limings@nvidia.com>
Thu, 12 Oct 2023 23:02:35 +0000 (19:02 -0400)
committerHans de Goede <hdegoede@redhat.com>
Wed, 18 Oct 2023 13:38:09 +0000 (15:38 +0200)
commit99c09c985e5973c8f0ad976ebae069548dd86f12
treec390a17533c66feb227923cc69314b824e517b46
parent0e51cb42438b8754d8f4cee4c802a8c5bb2cd5e0
platform/mellanox: mlxbf-tmfifo: Fix a warning message

This commit fixes the smatch static checker warning in function
mlxbf_tmfifo_rxtx_word() which complains data not initialized at
line 634 when IS_VRING_DROP() is TRUE.

Signed-off-by: Liming Sun <limings@nvidia.com>
Link: https://lore.kernel.org/r/20231012230235.219861-1-limings@nvidia.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/mellanox/mlxbf-tmfifo.c