]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net/mlx5: Use unsigned int for free_count
authorParav Pandit <parav@nvidia.com>
Tue, 9 Feb 2021 07:44:27 +0000 (09:44 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 2 Apr 2021 23:13:04 +0000 (16:13 -0700)
Fix the warning due to missing int.

WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
+       unsigned free_count;

Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c

index c0656d4782e1c3bc3d5b63091fb21eb13f6d63ba..110c0837f95b94d14db81306b398371d40655956 100644 (file)
@@ -61,7 +61,7 @@ struct fw_page {
        u32                     function;
        unsigned long           bitmask;
        struct list_head        list;
-       unsigned                free_count;
+       unsigned int free_count;
 };
 
 enum {