Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f17f8b8 authored by Deepak Kumar's avatar Deepak Kumar
Browse files

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: default avatarDeepak Kumar <dkumar@codeaurora.org>
parent 610e9488
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;