Re: [PATCH] warning and unused in sctp.h

From: Jon Grimm (jgrimm2@us.ibm.com)
Date: Tue Mar 25 2003 - 10:00:03 EST


Stephen Rothwell wrote:

> 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) :-).
>

Hi Stephen. What probably isn't obvious is that the same source is
compiled into a user-level test harness where that variable really _is_
unused. ;-) However, this was just a hack to get rid of a
compilation warning in the testsuite, so I'm glad to see it gone.

thanks!
-jon

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:20 EST