lkml.org 
[lkml]   [2017]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] crypto: cavium: clean up clang warning on unread variable offset
    On Thu, Oct 12, 2017 at 05:44:06PM +0100, Colin King wrote:
    > From: Colin Ian King <colin.king@canonical.com>
    >
    > The variable offset is being assigned and not being used; it should
    > be passed as the 2nd argument to call to function nitrox_write_csr
    > but has been omitted. Fix this.
    >
    > Cleans up clang warning: Value stored to 'offset' is never read
    >
    > Fixes: 14fa93cdcd9b ("crypto: cavium - Add support for CNN55XX adapters.")
    > Signed-off-by: Colin Ian King <colin.king@canonical.com>

    Patch applied. Thanks.
    --
    Email: Herbert Xu <herbert@gondor.apana.org.au>
    Home Page: http://gondor.apana.org.au/~herbert/
    PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

    \
     
     \ /
      Last update: 2017-11-03 15:30    [W:3.091 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site