* linux-next/mm/vmscan.c:3751: possible poor choice of data type ?
@ 2016-01-18 15:59 David Binderman
0 siblings, 0 replies; only message in thread
From: David Binderman @ 2016-01-18 15:59 UTC (permalink / raw)
To: linux-mm
Hello there,
[linux-next/mm/vmscan.c:3751]: (style) int result is assigned to long variable.
const unsigned long nr_pages = 1 << order;
Maybe something like
const unsigned long nr_pages = 1UL << order;
would be better code.
Regards
David Binderman
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-18 15:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-18 15:59 linux-next/mm/vmscan.c:3751: possible poor choice of data type ? David Binderman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox