Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5171609ybe; Tue, 17 Sep 2019 03:59:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqzL6JlPNNqK8ZuDCtDdzQgm4TCp0QHnDG83zjS39Ek6KkIE4wlrgvf98le9oAGER1jwhHDF X-Received: by 2002:a17:906:4cc3:: with SMTP id q3mr4145838ejt.127.1568717974021; Tue, 17 Sep 2019 03:59:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568717974; cv=none; d=google.com; s=arc-20160816; b=AErVPskcMJ5txOewlrRVASE2Nf6RMFax68b9XS2AJVcExZxN70lAWEN1Iw7mfWRQ2A qpbQK7VWD//tkqI6itXsa0AmXlt3Whh+eAy45Ob232lFoMqS2MT/gLJeOBjJAbp3Iu3Y 31GuEzUU8cw3oGjLkhy/VBKYMOkJaQVngQB8jfqUQfI6zkogcF6yEj1wnJqYsJDxpjuI YHnXkOV+nRt/ElaiHP1OsS1TqbRsl32FcupxnuFCVRi7Df2qm5o4IOWgI9OZ8PxxM0uh K0rd9aC6moWIWkfM/bPXrveX6HizK8yGtHvo63PI1Rng3MCZ1FCPzmLFSFK6HdHt0JcJ eotg== 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=iMvKoaBFHz1tjLFYyfj82K1fjqD7Ec/9ic9y+4IJCmo=; b=Z87Gguj0nKA2enwQnPlaIKAsL09zB8kTU/pywlTMGskRLsihDDOK+qc29KtmrpwF+Q 1flGQXVVyWIeGC4kAKAX2d09NnYX579dpYfUwJKASR3TsrL1JODjSNIOa0xKcEKuesVq flip1nAvtpnFEpX/AVBYQeviGVex9Hn9GSWrJW24w8LBQiMmbgDDDxEM/pKPJA30zSgJ pISqG+FTXNTacBGdami+n5SedP8FcH3a6U2o6K5PzTAgO+TY/luI+zC1Gwt9v6tnUut6 U+zRIV8MWw7tN6f3cIldPwLYnGevUk4sKZjnsiMo8dB4dqy/tMgJtQvHsZ6nneUCudpQ lBMg== 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 l5si860084ejc.23.2019.09.17.03.59.10; Tue, 17 Sep 2019 03:59:34 -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 S1727478AbfIQKzZ (ORCPT + 99 others); Tue, 17 Sep 2019 06:55:25 -0400 Received: from smtp2.goneo.de ([85.220.129.33]:43380 "EHLO smtp2.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726141AbfIQKzZ (ORCPT ); Tue, 17 Sep 2019 06:55:25 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp2.goneo.de (Postfix) with ESMTP id E38D423F6EC; Tue, 17 Sep 2019 12:55:22 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.106 X-Spam-Level: X-Spam-Status: No, score=-3.106 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.206, BAYES_00=-1.9] autolearn=ham Received: from smtp2.goneo.de ([127.0.0.1]) by localhost (smtp2.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dKXicsz0i760; Tue, 17 Sep 2019 12:55:22 +0200 (CEST) Received: from lem-wkst-02.lemonage (hq.lemonage.de [87.138.178.34]) by smtp2.goneo.de (Postfix) with ESMTPSA id 6D69524013D; Tue, 17 Sep 2019 12:55:21 +0200 (CEST) Date: Tue, 17 Sep 2019 12:55:19 +0200 From: Lars Poeschel To: David Miller Cc: allison@lohutok.net, keescook@chromium.org, opensource@jilayne.com, swinslow@gmail.com, gregkh@linuxfoundation.org, gustavo@embeddedor.com, tglx@linutronix.de, kstewart@linuxfoundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, johan@kernel.org Subject: Re: [PATCH v7 6/7] nfc: pn533: Add autopoll capability Message-ID: <20190917105519.GB18936@lem-wkst-02.lemonage> References: <20190910093415.2186-1-poeschel@lemonage.de> <20190911.101759.1557703938346599792.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190911.101759.1557703938346599792.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:59AM +0200, David Miller wrote: > From: Lars Poeschel > Date: Tue, 10 Sep 2019 11:34:12 +0200 > > > +static int pn533_autopoll_complete(struct pn533 *dev, void *arg, > > + struct sk_buff *resp) > > +{ > > + u8 nbtg; > > + int rc; > > + struct pn532_autopoll_resp *apr; > > + struct nfc_target nfc_tgt; > > Need reverse christmas tree here. See below. > > @@ -1534,6 +1655,7 @@ static int pn533_start_poll(struct nfc_dev *nfc_dev, > > struct pn533_poll_modulations *cur_mod; > > u8 rand_mod; > > int rc; > > + struct sk_buff *skb; > > Likewise. I will do a v8 with these changes soon.