Re: [PATCH 6/7] [CCID-2/3]: Fix sparse warnings | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
From: Gerrit Renker <gerrit@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx> Conflicts with hctx prefix changes, please respin. -- To unsubscribe from this list: send the line "unsubscribe dccp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Kernel List] [Site Home] [IETF DCCP] [Linux Networking] [Git] [Security] [Linux Assembly] [Bugtraq] [Rubini] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux RAID] [Linux SCSI] [DDR & Rambus] [Linux Resources]
![]() |