linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/12] treewide: Use DECLARE_BITMAP
@ 2015-05-20  1:37 Joe Perches
  2015-05-20  1:37 ` [PATCH 01/12] ARM: mach-imx: iomux-imx31: " Joe Perches
  0 siblings, 1 reply; 4+ messages in thread
From: Joe Perches @ 2015-05-20  1:37 UTC (permalink / raw)
  To: linux-arm-kernel

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] 4+ messages in thread

* [PATCH 01/12] ARM: mach-imx: iomux-imx31: Use DECLARE_BITMAP
  2015-05-20  1:37 [PATCH 00/12] treewide: Use DECLARE_BITMAP Joe Perches
@ 2015-05-20  1:37 ` Joe Perches
  2015-05-20  6:50   ` Uwe Kleine-König
  2015-05-21  1:09   ` Shawn Guo
  0 siblings, 2 replies; 4+ messages in thread
From: Joe Perches @ 2015-05-20  1:37 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Joe Perches <joe@perches.com>
---
 arch/arm/mach-imx/iomux-imx31.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-imx/iomux-imx31.c b/arch/arm/mach-imx/iomux-imx31.c
index d6a3075..6dd22ca 100644
--- a/arch/arm/mach-imx/iomux-imx31.c
+++ b/arch/arm/mach-imx/iomux-imx31.c
@@ -40,7 +40,7 @@ static DEFINE_SPINLOCK(gpio_mux_lock);
 
 #define IOMUX_REG_MASK (IOMUX_PADNUM_MASK & ~0x3)
 
-static unsigned long mxc_pin_alloc_map[NB_PORTS * 32 / BITS_PER_LONG];
+static DECLARE_BITMAP(mxc_pin_alloc_map, NB_PORTS * 32);
 /*
  * set the mode for a IOMUX pin.
  */
-- 
2.1.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 01/12] ARM: mach-imx: iomux-imx31: Use DECLARE_BITMAP
  2015-05-20  1:37 ` [PATCH 01/12] ARM: mach-imx: iomux-imx31: " Joe Perches
@ 2015-05-20  6:50   ` Uwe Kleine-König
  2015-05-21  1:09   ` Shawn Guo
  1 sibling, 0 replies; 4+ messages in thread
From: Uwe Kleine-König @ 2015-05-20  6:50 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

On Tue, May 19, 2015 at 06:37:49PM -0700, Joe Perches wrote:
> Use the generic mechanism to declare a bitmap instead of unsigned long.
> 
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
>  arch/arm/mach-imx/iomux-imx31.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-imx/iomux-imx31.c b/arch/arm/mach-imx/iomux-imx31.c
> index d6a3075..6dd22ca 100644
> --- a/arch/arm/mach-imx/iomux-imx31.c
> +++ b/arch/arm/mach-imx/iomux-imx31.c
> @@ -40,7 +40,7 @@ static DEFINE_SPINLOCK(gpio_mux_lock);
>  
>  #define IOMUX_REG_MASK (IOMUX_PADNUM_MASK & ~0x3)
>  
> -static unsigned long mxc_pin_alloc_map[NB_PORTS * 32 / BITS_PER_LONG];
> +static DECLARE_BITMAP(mxc_pin_alloc_map, NB_PORTS * 32);
>  /*
>   * set the mode for a IOMUX pin.
>   */
Compile tested and
Acked-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 01/12] ARM: mach-imx: iomux-imx31: Use DECLARE_BITMAP
  2015-05-20  1:37 ` [PATCH 01/12] ARM: mach-imx: iomux-imx31: " Joe Perches
  2015-05-20  6:50   ` Uwe Kleine-König
@ 2015-05-21  1:09   ` Shawn Guo
  1 sibling, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2015-05-21  1:09 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, May 19, 2015 at 06:37:49PM -0700, Joe Perches wrote:
> Use the generic mechanism to declare a bitmap instead of unsigned long.
> 
> Signed-off-by: Joe Perches <joe@perches.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-21  1:09 UTC | newest]

Thread overview: 4+ 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:37 ` [PATCH 01/12] ARM: mach-imx: iomux-imx31: " Joe Perches
2015-05-20  6:50   ` Uwe Kleine-König
2015-05-21  1:09   ` Shawn Guo

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).