The patch titled lguest warning fixes has been removed from the -mm tree. Its filename was lguest-guest-code-warning-fixes.patch This patch was dropped because an updated version will be merged ------------------------------------------------------ Subject: lguest warning fixes From: Rusty Russell <rusty@xxxxxxxxxxxxxxx> The prototype for paravirt_ops write_lgt_entry, write_gdt_entry and write_idt_entry was type-corrected, so change lguest to match. We can also use the "write_dt_entry" which was exported by that same cleanup patch, rather than write our own. Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/i386/lguest/lguest.c | 22 ++++++++-------------- 1 files changed, 8 insertions(+), 14 deletions(-) diff -puN arch/i386/lguest/lguest.c~lguest-guest-code-warning-fixes arch/i386/lguest/lguest.c --- a/arch/i386/lguest/lguest.c~lguest-guest-code-warning-fixes +++ a/arch/i386/lguest/lguest.c @@ -362,30 +362,24 @@ static void __init lguest_init_IRQ(void) irq_ctx_init(smp_processor_id()); } -static inline void native_write_dt_entry(void *dt, int entry, u32 entry_low, u32 entry_high) -{ - u32 *lp = (u32 *)((char *)dt + entry*8); - lp[0] = entry_low; - lp[1] = entry_high; -} - -static fastcall void lguest_write_ldt_entry(void *dt, int entrynum, u32 low, u32 high) +static fastcall void lguest_write_ldt_entry(struct desc_struct *dt, + int entrynum, u32 low, u32 high) { /* FIXME: Allow this. */ BUG(); } -static fastcall void lguest_write_gdt_entry(void *dt, int entrynum, - u32 low, u32 high) +static fastcall void lguest_write_gdt_entry(struct desc_struct *dt, + int entrynum, u32 low, u32 high) { - native_write_dt_entry(dt, entrynum, low, high); + write_dt_entry(dt, entrynum, low, high); hcall(LHCALL_LOAD_GDT, __pa(dt), GDT_ENTRIES, 0); } -static fastcall void lguest_write_idt_entry(void *dt, int entrynum, - u32 low, u32 high) +static fastcall void lguest_write_idt_entry(struct desc_struct *dt, + int entrynum, u32 low, u32 high) { - native_write_dt_entry(dt, entrynum, low, high); + write_dt_entry(dt, entrynum, low, high); hcall(LHCALL_LOAD_IDT_ENTRY, entrynum, low, high); } _ Patches currently in -mm which might be from rusty@xxxxxxxxxxxxxxx are git-kbuild.patch git-net.patch lguest-preparation-export_symbol_gpl-5-functions.patch lguest-preparation-expose-futex-infrastructure.patch lguest-guest-code-warning-fixes.patch lguest-clean-up-some-references-inittext-warnings.patch lguest-makefile.patch lguest-use-read-only-pages-rather-than-segments-to-protect-high-mapped-switcher.patch lguest-optimize-away-copy-in-and-out-of-per-cpu-guest-pages.patch lguest-compile-hypervisors-into-the-lg-module-directly.patch lguest-dont-crash-host-on-nmi.patch lguest-trivial-guest-network-driver.patch lguest-trivial-guest-console-driver.patch lguest-trivial-guest-block-driver.patch lguest-documentatation-and-example-launcher.patch introduce-load_tls-to-the-for-loop.patch remove-unused-set_seg_base.patch clarify-config_reorder-explanation.patch allow-per-cpu-variables-to-be-page-aligned.patch i386-gdt-cleanups-use-per-cpu-variables-for-gdt-pda.patch i386-gdt-cleanups-use-per-cpu-gdt-immediately-upon-boot.patch i386-gdt-cleanups-clean-up-cpu_init.patch i386-gdt-cleanups-cleanup-gdt-access.patch i386-gdt-cleanups-rename-boot_gdt_table-to-boot_gdt.patch i386-account-for-module-percpu-space-separately-from-kernel.patch array_size-check-for-type.patch array_size-check-for-type-uml-fix.patch module-use-krealloc.patch extend-print_symbol-capability.patch extend-print_symbol-capability-fix.patch futex-restartable-futex_wait.patch futex-restartable-futex_wait-fix.patch add-ability-to-keep-track-of-callers-of-symbol_getput.patch add-ability-to-keep-track-of-callers-of-symbol_getput-update.patch update-mtd-use-of-symbol_getput.patch update-dvb-use-of-symbol_getput.patch ____call_usermodehelper-dont-flush_signals.patch ignore-vgacon-if-hardware-not-present.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html