All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: linux-kernel@vger.kernel.org
Cc: "J. Bruce Fields" <bfields@fieldses.org>,
	Trond Myklebust <trond.myklebust@primarydata.com>,
	Anna Schumaker <anna.schumaker@netapp.com>,
	"David S. Miller" <davem@davemloft.net>,
	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	[thread overview]
Message-ID: <ddf7dec5616d4e0fda0f9f2a31202dc80027f30a.1432085659.git.joe@perches.com> (raw)
In-Reply-To: <cover.1432085659.git.joe@perches.com>

Use the generic mechanism to declare a bitmap instead of unsigned long.

Signed-off-by: Joe Perches <joe@perches.com>
---
 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


  parent reply	other threads:[~2015-05-20  1:38 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-20  1:37 [PATCH 00/12] treewide: Use DECLARE_BITMAP Joe Perches
2015-05-20  1:37 ` Joe Perches
2015-05-20  1:37 ` [PATCH 01/12] ARM: mach-imx: iomux-imx31: " Joe Perches
2015-05-20  1:37   ` Joe Perches
2015-05-20  6:50   ` Uwe Kleine-König
2015-05-20  6:50     ` Uwe Kleine-König
2015-05-21  1:09   ` Shawn Guo
2015-05-21  1:09     ` Shawn Guo
2015-05-20  1:37 ` [PATCH 02/12] dmaengine: rcar-dmac: " Joe Perches
2015-05-25 17:12   ` Vinod Koul
2015-05-20  1:37 ` [PATCH 03/12] drm/amdkfd: " Joe Perches
2015-05-20  7:32   ` Oded Gabbay
2015-05-20  7:32     ` Oded Gabbay
2015-05-20  1:37 ` [PATCH 04/12] drm/radeon: " Joe Perches
2015-05-20 16:45   ` Alex Deucher
2015-05-20 16:45     ` Alex Deucher
2015-05-20  1:37 ` [PATCH 05/12] IB/ehca: " Joe Perches
2015-05-20  1:37 ` [PATCH 06/12] bcache: " Joe Perches
2015-05-20  1:37 ` [PATCH 07/12] spider_net: " Joe Perches
2015-05-21 21:18   ` David Miller
2015-05-20  1:37 ` [PATCH 08/12] s390/sclp: " Joe Perches
2015-05-20  7:03   ` Heiko Carstens
2015-05-20  1:37 ` [PATCH 09/12] [SCSI] qla4xxx: " Joe Perches
2015-05-20 13:04   ` Nilesh Javali
2015-05-20 13:04     ` Nilesh Javali
2015-05-20  1:37 ` [PATCH 10/12] scsi: " Joe Perches
2015-05-20  5:03   ` Bart Van Assche
2015-05-20  5:03     ` Bart Van Assche
2015-05-20  1:37 ` [PATCH 11/12] logfs: " Joe Perches
2015-05-20  1:38 ` Joe Perches [this message]
     [not found] ` <OF4147CCA9.838D5302-ONC1257E4B.000904D1-C1257E4B.000904DB@de.ibm.com>
2015-05-20  1:50   ` [possible PATCH -next] MAINTAINERS: Jens Axboe has changed email address Joe Perches
2015-05-20  3:48     ` Jens Axboe
2015-05-20  3:57       ` Joe Perches
2015-05-20 14:13         ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ddf7dec5616d4e0fda0f9f2a31202dc80027f30a.1432085659.git.joe@perches.com \
    --to=joe@perches.com \
    --cc=anna.schumaker@netapp.com \
    --cc=bfields@fieldses.org \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=trond.myklebust@primarydata.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.