lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACxGe6vbVkdRKm_fY6iXKAQHi4BGH7Cc+Hr1whPyFF1MdLXuWg@mail.gmail.com>
Date:	Wed, 14 Dec 2011 14:16:29 -0700
From:	Grant Likely <grant.likely@...retlab.ca>
To:	Rob Herring <robherring2@...il.com>
Cc:	linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	devicetree-discuss@...ts.ozlabs.org, shawn.guo@...escale.com,
	Kukjin Kim <kgene.kim@...sung.com>,
	Kevin Hilman <khilman@...com>,
	Tony Lindgren <tony@...mide.com>,
	Barry Song <baohua.song@....com>,
	Linus Walleij <linus.ml.walleij@...il.com>,
	Rob Herring <rob.herring@...xeda.com>,
	Russell King <linux@....linux.org.uk>
Subject: Re: [PATCH 6/9] ARM: realview: convert pl061 no irq to 0 instead of -1

On Wed, Dec 14, 2011 at 8:28 AM, Rob Herring <robherring2@...il.com> wrote:
> From: Rob Herring <rob.herring@...xeda.com>
>
> Drivers should use 0 for no irq, so convert realview platforms pl061
> platform_data over to use 0.
>
> Signed-off-by: Rob Herring <rob.herring@...xeda.com>
> Cc: Russell King <linux@....linux.org.uk>

Acked-by: Grant Likely <grant.likely@...retlab.ca>


> ---
>  arch/arm/mach-realview/realview_eb.c     |    3 ---
>  arch/arm/mach-realview/realview_pb1176.c |    3 ---
>  arch/arm/mach-realview/realview_pb11mp.c |    3 ---
>  arch/arm/mach-realview/realview_pba8.c   |    3 ---
>  arch/arm/mach-realview/realview_pbx.c    |    3 ---
>  5 files changed, 0 insertions(+), 15 deletions(-)
>
> diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c
> index 026c66a..57f5bac 100644
> --- a/arch/arm/mach-realview/realview_eb.c
> +++ b/arch/arm/mach-realview/realview_eb.c
> @@ -117,17 +117,14 @@ static void __init realview_eb_map_io(void)
>
>  static struct pl061_platform_data gpio0_plat_data = {
>        .gpio_base      = 0,
> -       .irq_base       = -1,
>  };
>
>  static struct pl061_platform_data gpio1_plat_data = {
>        .gpio_base      = 8,
> -       .irq_base       = -1,
>  };
>
>  static struct pl061_platform_data gpio2_plat_data = {
>        .gpio_base      = 16,
> -       .irq_base       = -1,
>  };
>
>  static struct pl022_ssp_controller ssp0_plat_data = {
> diff --git a/arch/arm/mach-realview/realview_pb1176.c b/arch/arm/mach-realview/realview_pb1176.c
> index c057540..2267696 100644
> --- a/arch/arm/mach-realview/realview_pb1176.c
> +++ b/arch/arm/mach-realview/realview_pb1176.c
> @@ -113,17 +113,14 @@ static void __init realview_pb1176_map_io(void)
>
>  static struct pl061_platform_data gpio0_plat_data = {
>        .gpio_base      = 0,
> -       .irq_base       = -1,
>  };
>
>  static struct pl061_platform_data gpio1_plat_data = {
>        .gpio_base      = 8,
> -       .irq_base       = -1,
>  };
>
>  static struct pl061_platform_data gpio2_plat_data = {
>        .gpio_base      = 16,
> -       .irq_base       = -1,
>  };
>
>  static struct pl022_ssp_controller ssp0_plat_data = {
> diff --git a/arch/arm/mach-realview/realview_pb11mp.c b/arch/arm/mach-realview/realview_pb11mp.c
> index 671ad6d..8622dbb 100644
> --- a/arch/arm/mach-realview/realview_pb11mp.c
> +++ b/arch/arm/mach-realview/realview_pb11mp.c
> @@ -112,17 +112,14 @@ static void __init realview_pb11mp_map_io(void)
>
>  static struct pl061_platform_data gpio0_plat_data = {
>        .gpio_base      = 0,
> -       .irq_base       = -1,
>  };
>
>  static struct pl061_platform_data gpio1_plat_data = {
>        .gpio_base      = 8,
> -       .irq_base       = -1,
>  };
>
>  static struct pl061_platform_data gpio2_plat_data = {
>        .gpio_base      = 16,
> -       .irq_base       = -1,
>  };
>
>  static struct pl022_ssp_controller ssp0_plat_data = {
> diff --git a/arch/arm/mach-realview/realview_pba8.c b/arch/arm/mach-realview/realview_pba8.c
> index cbf22df..6f9511d 100644
> --- a/arch/arm/mach-realview/realview_pba8.c
> +++ b/arch/arm/mach-realview/realview_pba8.c
> @@ -102,17 +102,14 @@ static void __init realview_pba8_map_io(void)
>
>  static struct pl061_platform_data gpio0_plat_data = {
>        .gpio_base      = 0,
> -       .irq_base       = -1,
>  };
>
>  static struct pl061_platform_data gpio1_plat_data = {
>        .gpio_base      = 8,
> -       .irq_base       = -1,
>  };
>
>  static struct pl061_platform_data gpio2_plat_data = {
>        .gpio_base      = 16,
> -       .irq_base       = -1,
>  };
>
>  static struct pl022_ssp_controller ssp0_plat_data = {
> diff --git a/arch/arm/mach-realview/realview_pbx.c b/arch/arm/mach-realview/realview_pbx.c
> index 63c4114..be3a01f 100644
> --- a/arch/arm/mach-realview/realview_pbx.c
> +++ b/arch/arm/mach-realview/realview_pbx.c
> @@ -124,17 +124,14 @@ static void __init realview_pbx_map_io(void)
>
>  static struct pl061_platform_data gpio0_plat_data = {
>        .gpio_base      = 0,
> -       .irq_base       = -1,
>  };
>
>  static struct pl061_platform_data gpio1_plat_data = {
>        .gpio_base      = 8,
> -       .irq_base       = -1,
>  };
>
>  static struct pl061_platform_data gpio2_plat_data = {
>        .gpio_base      = 16,
> -       .irq_base       = -1,
>  };
>
>  static struct pl022_ssp_controller ssp0_plat_data = {
> --
> 1.7.5.4
>



-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ