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

Commit ff1aa986 authored by Rhyland Klein's avatar Rhyland Klein Committed by Rom Lemarchand
Browse files

UPSTREAM: staging: android: Assign bool to true



high is a bool type variable.

bool variable should be assigned true, false not 1 or 0.

This patch assigns high to true, replacing 1.

Signed-off-by: default avatarTapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 17fbab1ee9a3e5d2a070450a0c76a3434278bc96)

Change-Id: Ifd5e2160a767d59e70956eca520be323b663aebb
Signed-off-by: default avatarRhyland Klein <rklein@nvidia.com>
parent 9089e986
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask,
	bool high;

	if (current_is_kswapd())
		high = 1;
		high = true;
	else
		high = !!(gfp_mask & __GFP_HIGHMEM);