From mboxrd@z Thu Jan 1 00:00:00 1970 From: gregkh@linuxfoundation.org (Greg Kroah-Hartman) Date: Tue, 11 Apr 2017 20:42:33 +0200 Subject: [Cocci] [PATCH 1/2] firmware: Google VPD: import lib_vpd source files In-Reply-To: <1491934554.17839.13.camel@perches.com> References: <1491902071-17935-1-git-send-email-thierry.escande@collabora.com> <1491902071-17935-2-git-send-email-thierry.escande@collabora.com> <20170411140919.GC4388@kroah.com> <1491934554.17839.13.camel@perches.com> Message-ID: <20170411184233.GB26792@kroah.com> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr On Tue, Apr 11, 2017 at 11:15:54AM -0700, Joe Perches wrote: > On Tue, 2017-04-11 at 16:09 +0200, Greg Kroah-Hartman wrote: > > Care to use "real" kernel variable types please? u8, u16, and others > > are you friend, uint8_t really isn't what we prefer, and checkpatch > > should tell you that... > > checkpatch doesn't warn about "u?int\d+_t" types unless > --strict is enabled and most likely it shouldn't. For brand new drivers, it's a good thing to run, to keep maintainers from complaining about obvious things :) thanks, greg k-h From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753301AbdDKSmo (ORCPT ); Tue, 11 Apr 2017 14:42:44 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:57470 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752617AbdDKSmn (ORCPT ); Tue, 11 Apr 2017 14:42:43 -0400 Date: Tue, 11 Apr 2017 20:42:33 +0200 From: Greg Kroah-Hartman To: Joe Perches Cc: Thierry Escande , linux-kernel@vger.kernel.org, Julia Lawall , cocci Subject: Re: [PATCH 1/2] firmware: Google VPD: import lib_vpd source files Message-ID: <20170411184233.GB26792@kroah.com> References: <1491902071-17935-1-git-send-email-thierry.escande@collabora.com> <1491902071-17935-2-git-send-email-thierry.escande@collabora.com> <20170411140919.GC4388@kroah.com> <1491934554.17839.13.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1491934554.17839.13.camel@perches.com> User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 11, 2017 at 11:15:54AM -0700, Joe Perches wrote: > On Tue, 2017-04-11 at 16:09 +0200, Greg Kroah-Hartman wrote: > > Care to use "real" kernel variable types please? u8, u16, and others > > are you friend, uint8_t really isn't what we prefer, and checkpatch > > should tell you that... > > checkpatch doesn't warn about "u?int\d+_t" types unless > --strict is enabled and most likely it shouldn't. For brand new drivers, it's a good thing to run, to keep maintainers from complaining about obvious things :) thanks, greg k-h