lkml.org 
[lkml]   [2009]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 09/16] usb host: fix sparse warning: Using plain integer as NULL pointer
    Date
    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@hanneseder.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;


    \
     
     \ /
      Last update: 2009-02-22 01:07    [W:0.112 / U:0.052 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site