Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754147AbbHSOgV (ORCPT ); Wed, 19 Aug 2015 10:36:21 -0400 Received: from mail-io0-f180.google.com ([209.85.223.180]:34299 "EHLO mail-io0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751658AbbHSOgQ convert rfc822-to-8bit (ORCPT ); Wed, 19 Aug 2015 10:36:16 -0400 MIME-Version: 1.0 From: Michal Suchanek Date: Wed, 19 Aug 2015 16:35:36 +0200 Message-ID: Subject: un4i-ss-cipher.c warning To: Herbert Xu , "David S. Miller" , Corentin Labbe , Maxime Ripard , Linux Kernel Mailing List , linux-crypto@vger.kernel.org, "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1284 Lines: 34 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/