[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080527.063714.19615390.davem@davemloft.net>
Date: Tue, 27 May 2008 06:37:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gerrit@....abdn.ac.uk
Cc: dccp@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH 6/7] [CCID-2/3]: Fix sparse warnings
From: Gerrit Renker <gerrit@....abdn.ac.uk>
Date: Tue, 27 May 2008 09:32:46 +0100
> This patch fixes the following two sparse warnings:
>
> 1. Due to a nested min(max()) expression, sparse gave the following warnings:
>
> net/dccp/ccids/ccid3.c:91:21: warning: symbol '__x' shadows an earlier one
> net/dccp/ccids/ccid3.c:91:21: warning: symbol '__y' shadows an earlier one
>
> (Didn't use clamp() here since this part is liketly to be split later, when
> implementing the changes from draft rfc3448bis.)
>
> 2. Declaration of function prototypes was in .c instead of .h file.
> This resulted in "should it be static" warnings. Corrected by moving the
> declarations to the tfrc.h file instead of the tfrc.c file.
>
> Signed-off-by: Gerrit Renker <gerrit@....abdn.ac.uk>
Conflicts with hctx prefix changes, please respin.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists