Make fw_pages statistics counter 64-bit to avoid overflow.

MFC after:		1 week
Sponsored by:		Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2017-01-27 10:20:38 +00:00
parent 66d53750b9
commit 115bc9b1d3

View File

@ -518,7 +518,7 @@ struct mlx5_priv {
/* pages stuff */
struct workqueue_struct *pg_wq;
struct rb_root page_root;
int fw_pages;
s64 fw_pages;
atomic_t reg_pages;
struct list_head free_list;