msm: kgsl: Correct page_count type in kgsl_pools struct

Update type of page_count variable in kgsl_pools struct
to unsigned int as it represents number of pages currently
present in the pool which can't be negative.

Change-Id: I3db83041cdcb862469df6f4fa87f40310ced7eb8
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
This commit is contained in:
Deepak Kumar 2021-05-24 17:01:30 +05:30
commit 6f17f8b861

View file

@ -22,7 +22,7 @@
*/
struct kgsl_page_pool {
unsigned int pool_order;
int page_count;
unsigned int page_count;
unsigned int reserved_pages;
spinlock_t list_lock;
struct list_head page_list;