mm: rmap: Fix invalid casting from a void to an enumerator.
authorJyotiraditya Panda <jyotiraditya@aospa.co>
Tue, 12 Oct 2021 17:51:03 +0000 (17:51 +0000)
committerivanmeler <i_ivan@windowslive.com>
Wed, 13 Apr 2022 21:14:09 +0000 (21:14 +0000)
commit7d423a811febc9596eea40d937119498ee0f3b23
tree8471fe9ca8ecaf1b2b0c3d57b9e56d8c4b21294a
parent15e46cbef2ce961ccf1cc96a63e9a46126c0e182
mm: rmap: Fix invalid casting from a void to an enumerator.
 fixes:

../mm/rmap.c:1344:25: warning: cast to smaller integer type 'enum ttu_flags' from 'void *' [-Wvoid-pointer-to-enum-cast]
        enum ttu_flags flags = (enum ttu_flags)arg;
                               ^~~~~~~~~~~~~~~~~~~
mm/rmap.c