On Sun, 16 Jun 2024 19:17:30 +0300, Leon Romanovsky wrote: > drivers/infiniband/hw/mlx4/alias_GUID.c: In function ‘mlx4_ib_init_alias_guid_service’: > drivers/infiniband/hw/mlx4/alias_GUID.c:878:74: error: ‘%d’ directive > output may be truncated writing between 1 and 11 bytes into a region of > size 5 [-Werror=format-truncation=] > 878 | snprintf(alias_wq_name, sizeof alias_wq_name, "alias_guid%d", i); > | ^~ > drivers/infiniband/hw/mlx4/alias_GUID.c:878:63: note: directive argument in the range [-2147483641, 2147483646] > 878 | snprintf(alias_wq_name, sizeof alias_wq_name, "alias_guid%d", i); > | ^~~~~~~~~~~~~~ > drivers/infiniband/hw/mlx4/alias_GUID.c:878:17: note: ‘snprintf’ output > between 12 and 22 bytes into a destination of size 15 > 878 | snprintf(alias_wq_name, sizeof alias_wq_name, "alias_guid%d", i); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > > [...] Applied, thanks! [1/1] RDMA/mlx4: Fix truncated output warning in alias_GUID.c https://git.kernel.org/rdma/rdma/c/bc80b39bffebae Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>