[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <154e089b0902261704j8dba825q59411db576a157e8@mail.gmail.com>
Date: Fri, 27 Feb 2009 02:04:31 +0100
From: Hannes Eder <hannes@...neseder.net>
To: trivial@...nel.org, Greg Kroah-Hartman <gregkh@...e.de>
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 09/16] usb host: fix sparse warning: Using plain integer
as NULL pointer
[Added To]
On Sun, Feb 22, 2009 at 1:04 AM, Hannes Eder <hannes@...neseder.net> wrote:
> Fix this sparse warning:
> drivers/usb/host/oxu210hp-hcd.c:2687:42: warning: Using plain integer as NULL pointer
>
> Signed-off-by: Hannes Eder <hannes@...neseder.net>
> ---
> drivers/usb/host/oxu210hp-hcd.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c
> index 2947c69..5ac489e 100644
> --- a/drivers/usb/host/oxu210hp-hcd.c
> +++ b/drivers/usb/host/oxu210hp-hcd.c
> @@ -2684,7 +2684,7 @@ static int oxu_reset(struct usb_hcd *hcd)
> oxu->urb_len = 0;
>
> /* FIMXE */
> - hcd->self.controller->dma_mask = 0UL;
> + hcd->self.controller->dma_mask = NULL;
>
> if (oxu->is_otg) {
> oxu->caps = hcd->regs + OXU_OTG_CAP_OFFSET;
>
>
--
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