Re: [PATCH] selftests/mm: Fix loss of information warnings

2025-04-05 Thread Andrew Morton
On Sat, 29 Mar 2025 03:30:37 +0530 Siddarth G wrote: > Cppcheck reported a style warning: > int result is assigned to long long variable. If the variable is long long > to avoid loss of information, then you have loss of information. > > Changing the type of page_size from 'unsigned int' to 'uns

[PATCH] selftests/mm: Fix loss of information warnings

2025-03-28 Thread Siddarth G
Cppcheck reported a style warning: int result is assigned to long long variable. If the variable is long long to avoid loss of information, then you have loss of information. Changing the type of page_size from 'unsigned int' to 'unsigned long long' was considered. But that might cause new convers