diff options
| author | Audra Mitchell <audra@redhat.com> | 2026-08-06 11:00:34 -0400 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-08-24 18:43:08 -0700 |
| commit | dc924f0f85afd5a211357e2f2b670772853d1ce3 (patch) | |
| tree | fddcdaa555415f03a4de836434236f1a808a02ed /include | |
| parent | 54cc9b38470905e7fdf4a8786e9b1b85ac045f0a (diff) | |
| download | linux-dc924f0f85afd5a211357e2f2b670772853d1ce3.tar.gz linux-dc924f0f85afd5a211357e2f2b670772853d1ce3.zip | |
selftests/mm/vm_util.c: correct __pagemap_scan_get_categories return value
Currently __pagemap_scan_get_categories returns the result from the ioctl
call which should be an int, not uint64_t. The ioctl may return -1 on
error, which will be interpreted as UINT64_MAX. Adjust the return type to
use the correct value.
Link: https://lore.kernel.org/20260806150339.1824251-2-audra@redhat.com
Signed-off-by: Audra Mitchell <audra@redhat.com>
Reviewed-by: Liam R. Howlett (Oracle) <liam@infradead.org>
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
Cc: Lorenzo Stoakes <ljs@kernel.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
