summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRongwei Liu <rongweil@nvidia.com>2021-10-08 09:02:39 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-10-16 03:37:46 +0300
commit7b1b6d35f045d677f34f8085ac02827fe4080d7e (patch)
tree9594c0398f86f3489c39a0cc26581c68cfa4a2e5 /include/linux
parent0e6f3ef469bbf69ea6840aa4d15dcfc8ce978760 (diff)
downloadlinux-7b1b6d35f045d677f34f8085ac02827fe4080d7e.tar.xz
net/mlx5: Check return status first when querying system_image_guid
When querying system_image_guid from firmware, we should check return value first. The buffer content is valid only if query succeed. Signed-off-by: Rongwei Liu <rongweil@nvidia.com> Reviewed-by: Mark Bloch <mbloch@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions