From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 524AEC433F5 for ; Tue, 4 Oct 2022 01:27:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229629AbiJDB1y (ORCPT ); Mon, 3 Oct 2022 21:27:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbiJDB1s (ORCPT ); Mon, 3 Oct 2022 21:27:48 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE5803678A; Mon, 3 Oct 2022 18:27:46 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4MhKnj3qpkz4xDn; Tue, 4 Oct 2022 12:27:37 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1664846861; bh=dILIPkBSNiaMmuEgx2aZ/VK27RtnOYvEUacjVkijs74=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=HPNFOfyi/pQutZwIwhl9fl4tsacR4hDZWC2YrVMONUfvmLO5pv/mIQSiaiDj293Vj qDjrx+kFb5O4BRjKAFQiSUMoyki5soVCJW3RFUXOZWq8QZOFcauFpzaROuZUUCaZVT RVxUOUcQuAyLEkSxNn60QjHxtWQuloChpMU+NUW0NgdV/QTXGvCtCfGNZAmBISvy5Y M5Z9rpFqf6Pw9qDYvHYO2RFzBrFebkxJ7ZDEND8o9rLMks35MtA5ofZhL5KzRCnts5 mNZkDft0YVolHC1fX63JO3m1TWrQBor9b7Or9tYTRngCbk7AgDMptELDvaOoQi1/+e jcCmCeuZdkc4Q== From: Michael Ellerman To: Sven Peter , Arminder Singh , Wolfram Sang Cc: Alyssa Rosenzweig , asahi@lists.linux.dev, Benjamin Herrenschmidt , Christian Zigotzky , Darren Stevens , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev , Hector Martin , Paul Mackerras Subject: Re: [PATCH v2] i2c-pasemi: PASemi I2C controller IRQ enablement In-Reply-To: <5e89999e-5c9d-428c-a6c6-b454fb47aaa3@app.fastmail.com> References: <5e89999e-5c9d-428c-a6c6-b454fb47aaa3@app.fastmail.com> Date: Tue, 04 Oct 2022 12:27:36 +1100 Message-ID: <87edvoped3.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "Sven Peter" writes: > On Sun, Oct 2, 2022, at 16:07, Arminder Singh wrote: >> Hi, >> >>> #define REG_MTXFIFO 0x00 >>> #define REG_MRXFIFO 0x04 >>> #define REG_SMSTA 0x14 >>> +#define REG_IMASK 0x18 >> >>> This doesn't seem to be aligned correctly, this file seems to use a tab >>> to separate the register name and the offset and you used spaces here. >> >>> @@ -15,7 +16,11 @@ struct pasemi_smbus { >>> struct i2c_adapter adapter; >>> void __iomem *ioaddr; >>> unsigned int clk_div; >>> - int hw_rev; >>> + int hw_rev; >>> + int use_irq; >>> + struct completion irq_completion; >> >>> This doesn't seem to be aligned correctly and the hw_rev line >>> doesn't have to be changed. >> >> I'm sorry for the alignment issues in the patch, I genuinely didn't notice >> them as from the perspective of my primary editor (Visual Studio Code) >> the entries were aligned. I just saw them when opening the files in >> nano. > > No worries, it's just a small nit and quickly fixed after all! :) > >> >> Does fixing the alignment issues and the commit description justify a v3 >> of the patch or should the minor fixes go out as a "resend"? Just not sure >> in this particular case as the fixes seem to be very minor ones. > > I'd send a v3. I've only used resend when e.g. my previous mail provider > messed up and silently converted all my outgoing mails to HTML. If you've modified the patches then it's not a "resend": https://www.kernel.org/doc/html/latest/process/submitting-patches.html#don-t-get-discouraged-or-impatient So yeah send a v3 in this case. cheers