[Crash-utility] [RFC PATCH 1/2] crash: Show memory overcommit data in dump_kmeminfo()
Aaron Tomlin
atomlin at redhat.com
Sun Nov 30 15:24:09 UTC 2014
On Fri 2014-11-21 15:32 -0500, Dave Anderson wrote:
>
>
> Aaron -- FYI: this warning looks legit:
>
> $ make warn
> TARGET: X86_64
> CRASH: 7.1.0rc5
> GDB: 7.6
>
> cc -c -g -DX86_64 -DLZO -DSNAPPY -DGDB_7_6 build_data.c -Wall -O2 -Wstrict-prototypes -Wmissing-prototypes -fstack-protector -Wformat-security
> cc -c -g -DX86_64 -DLZO -DSNAPPY -DGDB_7_6 memory.c -Wall -O2 -Wstrict-prototypes -Wmissing-prototypes -fstack-protector -Wformat-security
> memory.c: In function ‘dump_kmeminfo’:
> memory.c:7952:11: warning: ‘allowed’ may be used uninitialized in this function [-Wmaybe-uninitialized]
> cc -c -g -DX86_64 -DLZO -DSNAPPY -DGDB_7_6 help.c -Wall -O2 -Wstrict-prototypes -Wmissing-prototypes -fstack-protector -Wformat-security
> ...
OK - fixed.
--
Aaron Tomlin
More information about the Crash-utility
mailing list