Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5174764ybe; Tue, 17 Sep 2019 04:02:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxeum0MC0XjV2ApsW1M5QcNp79yWLGwgXWUUm2UcZF+T+90L2fSxk2ykyfW6tUTRsTt+mps X-Received: by 2002:a17:906:6c8:: with SMTP id v8mr4175125ejb.252.1568718144479; Tue, 17 Sep 2019 04:02:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568718144; cv=none; d=google.com; s=arc-20160816; b=CSkE/HPMRXxoxYfaK6OdDvZJqP8p42HFfBU+iNHgoU1iA2MXxY/QA2j9UmC65WQLUh I5rZAs30b08PYdtIn/DV+wqkfGAoY7p+3/KKzVDw09CI8mYo34jAans+F3w0Ut2XUIrr 1N3hZU3Su/+vlcZNOKA87D1JX0YMk0ykq7ucGKgZzPFm9ZBCLsPASmZPICxobCUQgeyi /Hn7CWQwy548lyAJX891JI4xZTwziXtZkD1hoVyXdE+lvd+WQa/Ycq3WG/d0pkOc5Tq4 FlFVVbk5IG67Sug5bczNssqOIsCekmtI4YIjE/6VyYGSrofXJk5w8+alHU7KMQGUj/IS NWZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ieyvsLcuRj4wrXNZEs0qb+P9PBuW8vihzHq1Y5G9Gr0=; b=Ek+U5w2ltIZNj9E2aBuGJnmwRKpP0hMLmn3Yu4mZ1M9VGk8JuWjUw8RASvYcbBTETV oATmWqA8WAYA6iXLnBz0ie3wQRXWQUzjuhWO5UK0fNU8aGQnTW63QqpVfny8AtqclZR/ Dx4Qw398/XBeX8y5C54XoCo8nTMr2eYlfTNotJ6AZKRlE9xr8pD3wM3UnqwXXOSYDwYh wubWZHdnsNTfJ5DkRwqMnIfeyaFnjJwrYCM0Wz90K3R8rc1lSJw2pgN0zIHrI4DNpqB5 rwOWuOqpfsxmiyZBNhH+xZ91Mxuznh8XJlp9cDev5zp86iIHW0vkc/Jkgb4kChUn8gSq UF3w== 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 j38si1064578ede.374.2019.09.17.04.02.00; Tue, 17 Sep 2019 04:02:24 -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 S1726987AbfIQK4P (ORCPT + 99 others); Tue, 17 Sep 2019 06:56:15 -0400 Received: from smtp3.goneo.de ([85.220.129.37]:51264 "EHLO smtp3.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726442AbfIQK4P (ORCPT ); Tue, 17 Sep 2019 06:56:15 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp3.goneo.de (Postfix) with ESMTP id 1069323F95B; Tue, 17 Sep 2019 12:56:13 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.029 X-Spam-Level: X-Spam-Status: No, score=-3.029 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.129, BAYES_00=-1.9] autolearn=ham Received: from smtp3.goneo.de ([127.0.0.1]) by localhost (smtp3.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S55syZCSdeQD; Tue, 17 Sep 2019 12:56:11 +0200 (CEST) Received: from lem-wkst-02.lemonage (hq.lemonage.de [87.138.178.34]) by smtp3.goneo.de (Postfix) with ESMTPSA id 4D2D623F4C1; Tue, 17 Sep 2019 12:56:11 +0200 (CEST) Date: Tue, 17 Sep 2019 12:56:09 +0200 From: Lars Poeschel To: David Miller 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 Message-ID: <20190917105609.GC18936@lem-wkst-02.lemonage> References: <20190910093359.2110-1-poeschel@lemonage.de> <20190911.101732.1453519960272118746.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190911.101732.1453519960272118746.davem@davemloft.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 11, 2019 at 10:17:32AM +0200, David Miller wrote: > 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. See below. > > +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. Ok, I will do a v8 soon with these changes.