lkml.org 
[lkml]   [2008]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCHv2 11/28] cxacru: treat firmware data as const
    Date
    Signed-off-by: David Woodhouse <dwmw2@infradead.org>
    ---
    drivers/usb/atm/cxacru.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/usb/atm/cxacru.c b/drivers/usb/atm/cxacru.c
    index 5ea3093..90583d6 100644
    --- a/drivers/usb/atm/cxacru.c
    +++ b/drivers/usb/atm/cxacru.c
    @@ -820,7 +820,7 @@ reschedule:
    }

    static int cxacru_fw(struct usb_device *usb_dev, enum cxacru_fw_request fw,
    - u8 code1, u8 code2, u32 addr, u8 *data, int size)
    + u8 code1, u8 code2, u32 addr, const u8 *data, int size)
    {
    int ret;
    u8 *buf;
    --
    1.5.4.5


    \
     
     \ /
      Last update: 2008-05-25 12:35    [W:0.019 / U:0.440 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site