lkml.org 
[lkml]   [2003]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.053 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site