2.4.1-ac10 warning cleanup
Subsystems (4)
PATCH 1/1 2.4.1-ac10 warning cleanup
Another installment in the never ending battle to keep the kernel build free from warnings.
arch/i386/kernel/traps.c +1 -1
@@ -127,7 +127,7 @@ void show_trace(unsigned long * stack)void show_trace_task (struct task_struct *tsk) { -show_trace (tsk->thread.esp); +show_trace ((unsigned long *)(tsk->thread.esp)); }void show_stack (unsigned long * esp)
drivers/net/ne.c +1 -1
@@ -87,7 +87,7 @@ isapnp_clone_list[] __initdata = { {0} }; -MODULE_DEVICE_TABLE (isapnp, isapnp_clone_list); +MODULE_DEVICE_TABLE (isapnp, (struct isapnp_device_id *)isapnp_clone_list);#ifdef SUPPORT_NE_BAD_CLONES /* A list of bad clones that we none-the-less recognize. */
drivers/usb/serial/usbserial.c +3 -1
@@ -298,10 +298,10 @@ static int generic_write_room (structstatic int generic_chars_in_buffer (struct usb_serial_port *port);static void generic_read_bulk_callback (struct urb *urb);static void generic_write_bulk_callback (struct urb *urb); -static void generic_shutdown (struct usb_serial *serial);#ifdef CONFIG_USB_SERIAL_GENERIC +static void generic_shutdown (struct usb_serial *serial);static __u16 vendor =0x05f9 ;static __u16 product =0xffff ;MODULE_PARM (vendor,"i" );
@@ -968,6 +968,7 @@ static void generic_write_bulk_callback } +#ifdef CONFIG_USB_SERIAL_GENERIC static void generic_shutdown (struct usb_serial *serial) {int i;
@@ -981,6 +982,7 @@ static void generic_shutdown (struct usb } } } +#endif static void port_softint (void *private)
fs/buffer.c +0 -1
@@ -1035,7 +1035,6 @@ repeat:int balance_dirty_state (kdev_t dev) {unsigned long dirty, tot, hard_dirty_limit, soft_dirty_limit; -int shortage; dirty = size_buffers_type[BUF_DIRTY ] >>PAGE_SHIFT ; tot =nr_free_buffer_pages ();
fs/partitions/msdos.c +4 -1
@@ -70,8 +70,11 @@ static inline int is_extended_partition(/* * partition_name() formats the short partition name into the supplied * buffer, and returns a pointer to that buffer. +* Used by several partition types which makes conditional inclusion messy, +* use __attribute__ ((unused)) instead. */ -static char *partition_name (struct gendisk *hd,int minor,char *buf) +static char __attribute__ ((unused)) + *partition_name (struct gendisk *hd,int minor,char *buf) {#ifdef CONFIG_DEVFS_FS sprintf (buf,"p%d" , (minor & ((1 << hd->minor_shift) -1 )));
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/