Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1209857

un4i-ss-cipher.c warning

From Michal Suchanek <hramrach@gmail.com>
Newsgroups linux.kernel
Subject un4i-ss-cipher.c warning
Date 2015-08-19 16:40 +0200
Message-ID <pZcH0-eH-25@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

when building a kernel with sunxi crypto driver as merged into the
sinxi-wip branch I get a compiler warning.

I am not sure this is the latest version of the driver. It does not
seem to be in mainline yet.

Thanks

Michal

In file included from /scratch/build/linux/include/linux/printk.h:277:0,
                 from /scratch/build/linux/include/linux/kernel.h:13,
                 from /scratch/build/linux/include/linux/clk.h:16,
                 from
/scratch/build/linux/drivers/crypto/sunxi-ss/sun4i-ss.h:15,
                 from
/scratch/build/linux/drivers/crypto/sunxi-ss/sun4i-ss-cipher.c:17:
/scratch/build/linux/drivers/crypto/sunxi-ss/sun4i-ss-cipher.c: In
function ‘sun4i_ss_cipher_poll’:
/scratch/build/linux/include/linux/dynamic_debug.h:86:3: warning:
‘todo’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
   __dynamic_dev_dbg(&descriptor, dev, fmt, \
   ^
/scratch/build/linux/drivers/crypto/sunxi-ss/sun4i-ss-cipher.c:144:15:
note: ‘todo’ was declared here
  unsigned int todo;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

un4i-ss-cipher.c warning Michal Suchanek <hramrach@gmail.com> - 2015-08-19 16:40 +0200
  Re: un4i-ss-cipher.c warning Herbert Xu <herbert@gondor.apana.org.au> - 2015-08-20 07:30 +0200
    Re: un4i-ss-cipher.c warning Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-08-20 08:40 +0200
      Re: un4i-ss-cipher.c warning Herbert Xu <herbert@gondor.apana.org.au> - 2015-08-20 08:50 +0200
  Re: un4i-ss-cipher.c warning Corentin LABBE <clabbe.montjoie@gmail.com> - 2015-08-20 16:00 +0200
    Re: un4i-ss-cipher.c warning Herbert Xu <herbert@gondor.apana.org.au> - 2015-08-21 00:10 +0200

csiph-web