Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp585958ybe; Wed, 11 Sep 2019 01:21:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqykvhO9oR0VAXfyGfIpz4s+RPT5LG6Tx7EI/qcNyp8gFUOPazd0xmLeXxv3g4NP91LAaZ3n X-Received: by 2002:a50:da02:: with SMTP id z2mr34924738edj.254.1568190106645; Wed, 11 Sep 2019 01:21:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568190106; cv=none; d=google.com; s=arc-20160816; b=1IC7v6F1Te7uKnkr9BC8xH0FZ8dDDAVXU4jyE6oReffYTSyafHaILc7hsWgflwKCCA QX8zStIprWj36pWDAOdECcvj4h/RRRGCWeaPwRwvGBV1xr9AKCebeZuDHNxg8c3YwkVn DOmck78sig+WYUuzwkokgkicJsWzC8FiYd4hMvuAYt57DITSQ5R89zzAeMj9QGbnpffw zOeFAPLBzIkVOIixDBtLmyWMMlHfZchOTyP6zVsSFlKPBUTpe/hEbMO7nzUXYAGqb04Q d9mzxjUf7EnFf82VSEsAqxyLXCbCuwUhXvLBX09gHoc5Cn3uuufeAD+5ZlNNyez5m02e YTug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=SzCLnVGSNvmiZXiwBXAuBaGUYzHyB2eh2ca8sPM9fEE=; b=w+jb7mMuvCYtSHcURANRxbtoPjdRGD2m+cqIPAkVYcxg/jCEJdcXV4NpBnEfFEZ74b jGlaPUIHH9w4tbQ6Jw/dJxPGxL5q6qIDfNHwpWd5g3o1Gq+8qdxylhPXqld3q5qOU1IS S1Z4CACVGGRQNqjcb48lf+4HTx8NfwOIpL4BYvB5yImuF7FosWkXDfkxDEnHnSv5k41H n/HaOl26Hv0z7POi1pn6BSQOUsy6p39Xaygzb2BdXjDrPYs2kxyie5QLWnkxoCb3rxCl BiE0v87PHwez9kGLzU5JUJ6D0OiKISmlL3NXjZ3sH/z/hyN8jrk7inw/pDliuwXaGysV Jdng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v39si13161711edc.234.2019.09.11.01.21.23; Wed, 11 Sep 2019 01:21:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727266AbfIKIRg (ORCPT + 99 others); Wed, 11 Sep 2019 04:17:36 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:39976 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725924AbfIKIRg (ORCPT ); Wed, 11 Sep 2019 04:17:36 -0400 Received: from localhost (unknown [148.69.85.38]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 660301556733A; Wed, 11 Sep 2019 01:17:34 -0700 (PDT) Date: Wed, 11 Sep 2019 10:17:32 +0200 (CEST) Message-Id: <20190911.101732.1453519960272118746.davem@davemloft.net> To: poeschel@lemonage.de Cc: gregkh@linuxfoundation.org, tglx@linutronix.de, kstewart@linuxfoundation.org, swinslow@gmail.com, allison@lohutok.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, johan@kernel.org, Claudiu.Beznea@microchip.com Subject: Re: [PATCH v7 5/7] nfc: pn533: add UART phy driver From: David Miller In-Reply-To: <20190910093359.2110-1-poeschel@lemonage.de> References: <20190910093359.2110-1-poeschel@lemonage.de> X-Mailer: Mew version 6.8 on Emacs 26.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 11 Sep 2019 01:17:36 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lars Poeschel Date: Tue, 10 Sep 2019 11:33:50 +0200 > +static int pn532_uart_send_ack(struct pn533 *dev, gfp_t flags) > +{ > + struct pn532_uart_phy *pn532 = dev->phy; > + /* spec 7.1.1.3: Preamble, SoPC (2), ACK Code (2), Postamble */ > + static const u8 ack[PN533_STD_FRAME_ACK_SIZE] = { > + 0x00, 0x00, 0xff, 0x00, 0xff, 0x00}; > + int err; Reverse christmas tree ordering for the local variables please. > +static int pn532_uart_rx_is_frame(struct sk_buff *skb) > +{ > + int i; > + u16 frame_len; > + struct pn533_std_frame *std; > + struct pn533_ext_frame *ext; Likewise.