summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide/blockdev
diff options
context:
space:
mode:
authorSiddarth G <siddarthsgml@gmail.com>2025-04-03 15:43:45 +0530
committerAndrew Morton <akpm@linux-foundation.org>2025-05-11 17:48:09 -0700
commit0bf19a357e0eaf03e757ac9482c45a797e40157a (patch)
treee9ac97402cb056d0cdd290543df710ffc4984556 /Documentation/admin-guide/blockdev
parent26d4d18b79659054e451be9487937e31e63d0853 (diff)
selftests/mm: convert page_size to unsigned long
Cppcheck 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. This patch changes the type of page_size from 'unsigned int' to 'unsigned long' instead of using ULL suffixes. Changing hpage_size to 'unsigned long' was considered, but since gethugepage() expects an int, this change was avoided. Link: https://lkml.kernel.org/r/20250403101345.29226-1-siddarthsgml@gmail.com Signed-off-by: Siddarth G <siddarthsgml@gmail.com> Reported-by: David Binderman <dcb314@hotmail.com> Closes: https://lore.kernel.org/all/AS8PR02MB10217315060BBFDB21F19643E9CA62@AS8PR02MB10217.eurprd02.prod.outlook.com/ Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/admin-guide/blockdev')
0 files changed, 0 insertions, 0 deletions