Hi,
This patch changes a flags argument to spin_lock_irq_save to unsigned long
and removes its unused attribute. The first gets rid of several warnings
and the second is "obviously correct" (at least according to Rusty) :-).
Thanks to DaveM for forcing me to build kernels with a 64 cross compiler :-)
--
Cheers,
http://www.canb.auug.org.au/~sfr/
diff -ruN 2.5.66/include/net/sctp/sctp.h 2.5.66-warnings.1/include/net/sctp/sctp.h
--- 2.5.66/include/net/sctp/sctp.h 2003-03-25 12:08:26.000000000 +1100
static inline void sctp_skb_list_tail(struct sk_buff_head *list,
struct sk_buff_head *head)
{
- int flags __attribute__ ((unused));
+ unsigned long flags;
sctp_spin_lock_irqsave(&head->lock, flags);
sctp_spin_lock(&list->lock);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/