Improve consistency of type-attribute usage (volatile/const).
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · Xen staging patchbot-unstable
# HG changeset patch
# User [email protected]
# Date 1166709531 0
# Node ID3e2d3d73762492fd03955d2574e30f535426c1ce# Parente86605304e52ee2012f5812dbf3a425572e65faaImprove consistency of type-attribute usage (volatile/const).
All architectures define elf_sanity_check() and need to be updated
from this change. Patch below. Thanks,
Alex
Signed-off-by Alex Williamson <[email protected]>
---
xen/arch/ia64/xen/domain.c +1 -1
@@ -867,7 +867,7 @@ int shadow_mode_control(struct domain *d#endif // see arch/x86/xxx/domain_build.c -int elf_sanity_check (Elf_Ehdr *ehdr) +int elf_sanity_check (const Elf_Ehdr *ehdr) {if (!(IS_ELF (*ehdr))) {
xen/arch/powerpc/domain_build.c +1 -1
@@ -51,7 +51,7 @@ static unsigned int opt_dom0_shadow;static unsigned int opt_dom0_shadow;boolean_param ("dom0_shadow" , opt_dom0_shadow); -int elf_sanity_check (Elf_Ehdr *ehdr) +int elf_sanity_check (const Elf_Ehdr *ehdr) {if (IS_ELF (*ehdr))/* we are happy with either */