* [PATCH 00/12] treewide: Use DECLARE_BITMAP
@ 2015-05-20 1:37 Joe Perches
2015-05-20 1:38 ` [PATCH 12/12] sunrpc: " Joe Perches
0 siblings, 1 reply; 2+ messages in thread
From: Joe Perches @ 2015-05-20 1:37 UTC (permalink / raw)
To: linux-kernel, linux-arm-kernel, dri-devel, linux-rdma,
linux-bcache, netdev, linux-scsi, logfs
Cc: dmaengine, linux-raid, linux-s390, linux-nfs
Use the standard method to declare a bitmap array.
Joe Perches (12):
ARM: mach-imx: iomux-imx31: Use DECLARE_BITMAP
dmaengine: rcar-dmac: Use DECLARE_BITMAP
drm/amdkfd: Use DECLARE_BITMAP
drm/radeon: Use DECLARE_BITMAP
IB/ehca: Use DECLARE_BITMAP
bcache: Use DECLARE_BITMAP
spider_net: Use DECLARE_BITMAP
s390/sclp: Use DECLARE_BITMAP
[SCSI] qla4xxx: Use DECLARE_BITMAP
scsi: Use DECLARE_BITMAP
logfs: Use DECLARE_BITMAP
sunrpc: Use DECLARE_BITMAP
arch/arm/mach-imx/iomux-imx31.c | 2 +-
drivers/dma/sh/rcar-dmac.c | 2 +-
drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 5 ++---
drivers/gpu/drm/radeon/radeon.h | 2 +-
drivers/infiniband/hw/ehca/ipz_pt_fn.h | 2 +-
drivers/md/bcache/journal.c | 2 +-
drivers/net/ethernet/toshiba/spider_net.c | 3 +--
drivers/s390/char/sclp_cmd.c | 2 +-
drivers/scsi/qla4xxx/ql4_def.h | 2 +-
drivers/scsi/sr.c | 2 +-
fs/logfs/logfs.h | 2 +-
net/sunrpc/auth_gss/svcauth_gss.c | 2 +-
12 files changed, 13 insertions(+), 15 deletions(-)
--
2.1.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 12/12] sunrpc: Use DECLARE_BITMAP
2015-05-20 1:37 [PATCH 00/12] treewide: Use DECLARE_BITMAP Joe Perches
@ 2015-05-20 1:38 ` Joe Perches
0 siblings, 0 replies; 2+ messages in thread
From: Joe Perches @ 2015-05-20 1:38 UTC (permalink / raw)
To: linux-kernel
Cc: J. Bruce Fields, Trond Myklebust, Anna Schumaker, David S. Miller,
linux-nfs, netdev
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-20 1:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-20 1:37 [PATCH 00/12] treewide: Use DECLARE_BITMAP Joe Perches
2015-05-20 1:38 ` [PATCH 12/12] sunrpc: " Joe Perches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).