From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752416AbbETBin (ORCPT ); Tue, 19 May 2015 21:38:43 -0400 Received: from smtprelay0158.hostedemail.com ([216.40.44.158]:36740 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752369AbbETBij (ORCPT ); Tue, 19 May 2015 21:38:39 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::,RULES_HIT:41:355:379:541:800:960:973:988:989:1260:1345:1359:1437:1534:1539:1711:1714:1730:1747:1777:1792:1981:2194:2199:2393:2559:2562:3138:3139:3140:3141:3142:3350:3865:3866:3867:3871:3874:4321:5007:6261:10004:10848:11026:11473:11658:11914:12043:12517:12519:12555:13311:13357:14394:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: vest35_85674b41a7757 X-Filterd-Recvd-Size: 1623 From: Joe Perches To: linux-kernel@vger.kernel.org Cc: "J. Bruce Fields" , Trond Myklebust , Anna Schumaker , "David S. Miller" , linux-nfs@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 12/12] sunrpc: Use DECLARE_BITMAP Date: Tue, 19 May 2015 18:38:00 -0700 Message-Id: X-Mailer: git-send-email 2.1.2 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use the generic mechanism to declare a bitmap instead of unsigned long. Signed-off-by: Joe Perches --- net/sunrpc/auth_gss/svcauth_gss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sunrpc/auth_gss/svcauth_gss.c b/net/sunrpc/auth_gss/svcauth_gss.c index 1095be9..e417476 100644 --- a/net/sunrpc/auth_gss/svcauth_gss.c +++ b/net/sunrpc/auth_gss/svcauth_gss.c @@ -320,7 +320,7 @@ struct gss_svc_seq_data { int sd_max; /* for i such that sd_max-GSS_SEQ_WIN < i <= sd_max, the i-th bit of * sd_win is nonzero iff sequence number i has been seen already: */ - unsigned long sd_win[GSS_SEQ_WIN/BITS_PER_LONG]; + DECLARE_BITMAP(sd_win, GSS_SEQ_WIN); spinlock_t sd_lock; }; -- 2.1.2