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 24A20C61DA4 for ; Thu, 9 Mar 2023 16:27:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229901AbjCIQ1E (ORCPT ); Thu, 9 Mar 2023 11:27:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229652AbjCIQ0g (ORCPT ); Thu, 9 Mar 2023 11:26:36 -0500 Received: from mail.ispras.ru (mail.ispras.ru [83.149.199.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00192C65E; Thu, 9 Mar 2023 08:18:14 -0800 (PST) Received: from fpc (unknown [10.10.165.5]) by mail.ispras.ru (Postfix) with ESMTPSA id 588BE4077AE7; Thu, 9 Mar 2023 16:10:30 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.ispras.ru 588BE4077AE7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ispras.ru; s=default; t=1678378230; bh=7lqJ9RnfZJMlCAtU5e6bKje5JAM46QpC7OJvhT+0+Sc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PyOnG6n2v+hmfKQ+cXfCZXCNDJqY0zo8Ib8yEKJEk48MoxVDxFlPip65YuU/sYgD7 3NgxENzViZd9VsibxWPYpDppqRVE0OCB6t3Ktz6HwW0qi8iaUI00omzsut1vYrhPBD sHMSUjeMHDWDC2XMkfD08JpeZ5LTkYnNKtlb2CS0= Date: Thu, 9 Mar 2023 19:10:25 +0300 From: Fedor Pchelkin To: Simon Horman Cc: Krzysztof Kozlowski , Jakub Kicinski , "David S. Miller" , Minsuk Kang , Alexey Khoroshilov , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org, syzbot+1e608ba4217c96d1952f@syzkaller.appspotmail.com Subject: Re: [PATCH] nfc: pn533: initialize struct pn533_out_arg properly Message-ID: <20230309161025.bfezdhoazzirykbr@fpc> References: <20230306214838.237801-1-pchelkin@ispras.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 07, 2023 at 04:45:30PM +0100, Simon Horman wrote: > > nit: This doesn't follow reverse xmas tree ordering - longest to shortest line. > It's probably not worth respinning, but I expect the preferred > approach is (*completely untested!*) > > ... > struct pn533_out_arg arg; > ... > > arg.phy = phy; > That is much prettier, thanks for advice! BTW, is reverse xmas tree ordering considered to be a general recommendation for all new kernel patches?