[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200702152031.40145.deller@gmx.de>
Date: Thu, 15 Feb 2007 20:31:39 +0100
From: Helge Deller <deller@....de>
To: "Cyrill V. Gorcunov" <gorcunov@...il.com>
Cc: Andrew Morton <akpm@...l.org>,
linux-kernel-list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] HIL: fix improper call of release_region v2
On Thursday 15 February 2007, Cyrill V. Gorcunov wrote:
> Thist patch prevents from improper call of release_region
> if the code has been compiled without CONFIG_HP300 support.
>
> Signed-off-by: Cyrill V. Gorcunov <gorcunov@...il.com>
Acked-by: Helge Deller <deller@....de>
> ---
>
> An improved version (v2). Helge, please check it and Ack then.
>
> drivers/input/keyboard/hilkbd.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/input/keyboard/hilkbd.c b/drivers/input/keyboard/hilkbd.c
> index 255a6ec..4de4dc2 100644
> --- a/drivers/input/keyboard/hilkbd.c
> +++ b/drivers/input/keyboard/hilkbd.c
> @@ -294,8 +294,10 @@ err3:
> disable_irq(HIL_IRQ);
> free_irq(HIL_IRQ, hil_dev.dev_id);
> err2:
> +#if defined(CONFIG_HP300)
> release_region(HILBASE + HIL_DATA, 2);
> err1:
> +#endif
> input_free_device(hil_dev.dev);
> hil_dev.dev = NULL;
> return err;
>
-
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