All of lore.kernel.org
 help / color / mirror / Atom feed
* makedumpfile-1.5.7: Compile warnings on archs without get_versiondep_info()
@ 2014-09-26  8:16 Michael Holzheu
  2014-10-21  5:13 ` Atsushi Kumagai
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Holzheu @ 2014-09-26  8:16 UTC (permalink / raw)
  To: kexec, kumagai-atsushi

I just noticed that makedumpfile-1.5.7 produces warnings
on s390x and probably all other archs that have not defined
get_versiondep_info():

elf_info.c: In function 'get_kcore_dump_loads':
elf_info.c:856:27: warning: unused variable 'p' [-Wunused-variable]
   struct pt_load_segment *p = &pt_loads[i];
                     
      ^
In file included from makedumpfile.h:41:0,
                 from makedumpfile.c:16:
makedumpfile.c: In function 'get_page_offset':
common.h:19:15: warning: statement with no effect [-Wunused-value]
 #define TRUE  (1)
               ^
makedumpfile.h:821:31: note: in expansion of macro 'TRUE'
 #define get_versiondep_info() TRUE
                               ^
makedumpfile.c:9240:2: note: in expansion of macro 'get_versiondep_info'
  get_versiondep_info();

Best Regards
Michael


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-10-22  0:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-26  8:16 makedumpfile-1.5.7: Compile warnings on archs without get_versiondep_info() Michael Holzheu
2014-10-21  5:13 ` Atsushi Kumagai
2014-10-21 11:28   ` Michael Holzheu
2014-10-21 11:35   ` Michael Holzheu
2014-10-22  0:43     ` Atsushi Kumagai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.