>>> Konrad Rzeszutek Wilk <konrad.w...@oracle.com> 09/23/16 1:56 AM >>> >@@ -46,6 +46,10 @@ void livepatch_elf_free(struct livepatch_elf *elf); >int livepatch_elf_resolve_symbols(struct livepatch_elf *elf); >int livepatch_elf_perform_relocs(struct livepatch_elf *elf); > >+static inline bool livepatch_elf_ignore_section(const Elf_Shdr *sec) >+{ >+ return ( !(sec->sh_flags & SHF_ALLOC) || sec->sh_size == 0 );
With the stray blanks (and perhaps even the outer parentheses) removed, Reviewed-by: Jan Beulich <jbeul...@suse.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel