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>
Tue, 29 Mar 2022 17:55:16 +0000 (17:55 +0000)
commit5657eb5bbbaa8ef362c7a12bf90f7708dc13a7b2
tree02c57bcc2bd530ed16e3a036981ba14f29bea4d4
parentde2057a89ffbf8f77cfefa6142bc595c318d1fc4
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