Messages in this thread | | | Date | Tue, 25 Mar 2003 09:00:03 -0600 | From | Jon Grimm <> | Subject | Re: [PATCH] warning and unused in sctp.h |
| |
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/
| |