linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] min_t type casting bug fixes
@ 2016-03-11  6:21 dyoung
  0 siblings, 0 replies; only message in thread
From: dyoung @ 2016-03-11  6:21 UTC (permalink / raw)
  To: akpm, linux-kernel, d.hatayama, bhe, vgoyal; +Cc: dyoung, kexec

Hi,

We found a min_t type casting issue in fs/proc/vmcore.c, it uses smaller
type in min_t so that during i386 PAE testing 64bit value was trucated
and then cause saving vmcore failure and BUG() for mmap case.

I introduced new macros min_lt and max_lt to select the larger data type
in x and y. Then use it in 2nd patch.

Any comments are appreciated.

Thanks
Dave

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-11  6:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-11  6:21 [PATCH 0/2] min_t type casting bug fixes dyoung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).