Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 45F0F2F3A for ; Tue, 5 Apr 2022 14:09:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96C8CC385A9; Tue, 5 Apr 2022 14:09:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649167754; bh=Wcg3ZHMdsCB1wYGU2/I4aiT0HZnWfz1uNuRzGLaMoxw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nkZlKhsCTiQ5hiJ8/WlYtPAIIuU2uYjk/UDJhMugG2KAsSYMPU21MYPAqXYBLLcDM YW2lzXc2oMbNzFJfxZsk/byWUQrgHDAmtxUnpWVDy3NaltKniRopGYfhy2m2pe3xIm 1HVxT/9DX6a36erzCur5luxmyDq/ffGLzWwb/g6w= Date: Tue, 5 Apr 2022 16:09:12 +0200 From: Greg Kroah-Hartman To: Philipp Hortmann Cc: Forest Bond , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/6] staging: vt6655: Rename macro arguments with CamelCase Message-ID: References: <70cce6671976e454830c12d6d7977a5fe816a287.1649103348.git.philipp.g.hortmann@gmail.com> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <70cce6671976e454830c12d6d7977a5fe816a287.1649103348.git.philipp.g.hortmann@gmail.com> On Mon, Apr 04, 2022 at 10:48:47PM +0200, Philipp Hortmann wrote: > Rename macro arguments with CamelCase in upc.h as > they are not accepted by checkpatch.pl > Removed datatype in macro arguments. > > Since there are more than one checkpatch issue per line, > more steps are rquired to fix. > > Signed-off-by: Philipp Hortmann > --- > V1 -> V2: This patch was 4/7 and is now 3/6 > --- > drivers/staging/vt6655/upc.h | 36 ++++++++++++++++++------------------ > 1 file changed, 18 insertions(+), 18 deletions(-) > > diff --git a/drivers/staging/vt6655/upc.h b/drivers/staging/vt6655/upc.h > index b374db5fca81..f080a25e6cdf 100644 > --- a/drivers/staging/vt6655/upc.h > +++ b/drivers/staging/vt6655/upc.h > @@ -20,34 +20,34 @@ > > /* For memory mapped IO */ > > -#define VNSvInPortB(dwIOAddress, pbyData) \ > - (*(pbyData) = ioread8(dwIOAddress)) > +#define VNSvInPortB(io_address, data) \ > + (*(data) = ioread8(io_address)) These should all just go away, don't spend time cleaning them up. Replace the callers with the ioread* calls instead. Should be one patch per macro to remove. thanks, greg k-h