From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753638AbdLUROI (ORCPT ); Thu, 21 Dec 2017 12:14:08 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:34432 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751828AbdLUROF (ORCPT ); Thu, 21 Dec 2017 12:14:05 -0500 Date: Thu, 21 Dec 2017 18:14:05 +0100 From: Greg Kroah-Hartman To: Arnd Bergmann Cc: Gilad Ben-Yossef , devel@driverdev.osuosl.org, Derek Robson , driverdev-devel@linuxdriverproject.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, Suniel Mahesh Subject: Re: [PATCH] staging: ccree: fix type mismatch warning Message-ID: <20171221171405.GA24378@kroah.com> References: <20171221133139.1968427-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171221133139.1968427-1-arnd@arndb.de> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 21, 2017 at 02:31:20PM +0100, Arnd Bergmann wrote: > __dump_byte_array used to be hidden, but is now visible to the compiler > and causes a harmless warning: > > drivers/staging/ccree/ssi_driver.c:82:6: error: conflicting types for '__dump_byte_array' > drivers/staging/ccree/ssi_driver.c: In function '__dump_byte_array': > drivers/staging/ccree/ssi_driver.c:89:41: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka unsigned int}' [-Werror=format=] > > This changes the prototype in the header to match that of the actual > function on all architectures, and the format string to match the > argument. > > Fixes: 3f268f5d6669 ("staging: ccree: turn compile time debug log to params") > Signed-off-by: Arnd Bergmann > --- > drivers/staging/ccree/ssi_driver.c | 2 +- > drivers/staging/ccree/ssi_driver.h | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) Should already be fixed, sorry. greg k-h