Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751600AbdHBMgZ (ORCPT ); Wed, 2 Aug 2017 08:36:25 -0400 Received: from mga02.intel.com ([134.134.136.20]:53981 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751128AbdHBMgY (ORCPT ); Wed, 2 Aug 2017 08:36:24 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,311,1498546800"; d="scan'208";a="135064533" Date: Wed, 2 Aug 2017 15:36:19 +0300 From: Jarkko Sakkinen To: SZ Lin Cc: ashleydlai@gmail.com, benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, peterhuewe@gmx.de, tpmdd@selhorst.ne, jgunthorpe@obsidianresearch.com, tpmdd-devel@lists.sourceforge.net, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/5] tpm: tpm_ibmvtpm: - style fix Message-ID: <20170802123619.nhmwexzaybck3lif@linux.intel.com> References: <20170729072433.13194-1-sz.lin@moxa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170729072433.13194-1-sz.lin@moxa.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 813 Lines: 24 On Sat, Jul 29, 2017 at 03:24:28PM +0800, SZ Lin wrote: > Fix styling WARNINGs and Errors of tpm_ibmvtpm.c driver by using checkpatch.pl Changes are great but you should revise the patch series so that you expain in each commit what goes wrong instead of copy paste of the checkpatch output and why your changes fixes the problem. > > SZ Lin (5): > Fix packed and aligned attribute warnings. > Fix "ERROR: code indent should use tabs where possible" > Fix 'void function return statements are not generally useful' warning > Remove unneccessary 'out of memory' message > Use __func__ instead of function name > > drivers/char/tpm/tpm_ibmvtpm.c | 23 +++++++++-------------- > drivers/char/tpm/tpm_ibmvtpm.h | 2 +- > 2 files changed, 10 insertions(+), 15 deletions(-) > > -- > 2.13.3 > /Jarkko