Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp584981ybe; Wed, 11 Sep 2019 01:20:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZrclb48jmzZKTR0bnMxuRNsk0N0hK9nsVvE/cUsp0ho8Ct/cl1YU4vJQ9/oCrpbduU9k4 X-Received: by 2002:a50:918d:: with SMTP id g13mr34964183eda.64.1568190039856; Wed, 11 Sep 2019 01:20:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568190039; cv=none; d=google.com; s=arc-20160816; b=m8r1/ESV53UwtecUla9b8GkBYXYRn12D179oqMjDxC+7zojMvJej+TiUa2Mrq1tzaS NoH6h9pO5Cf8TDGOOWQ48uJiXa0NaibTPmVDflw9ApxCk0a+/nHMQYJIaOz2H4ujOFHb wmjeUbqI/6A0HGTptWAs3FhqWQm9IZuSwwPgn/nYUYgHSpF0aUCz1FX0DqUA3yNMXOVf heNWm5vjdEsZUzJ1qVonCGvuq7NcE7ZCiLn9tPhgrLGG3SRyzoak1T4JSFnABQmAYxWl i5F3Arie1E/wSnF6nwTpAkLW9A9cFhyMrtg+7ZqaxJz/UxvdlLHotQ76ZtBhm+h8O+lB Y6/w== 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=HvpwZhaALAqqmFWq+I1urCcrzxWoiYRCktcpYT/tAvw=; b=TARKSUAMHn+Hhp9oSC6xMqK/NT5EGxFesCPFIJtxyqr9/3bU7QJu8ShKLbJuk+wl1j AT8gNRnP4vS51d15AYvZN0AGUvTzQKI02wIwmvLTigKuIWnq5Wf1ZZBT2nVyzGcID0rt wgSf5W8G3rRavN8JSDsF9oCYOAvoZplzyzhCgZxLS1VsIqt3+VOjqqX1Xc8StMs7HM8d dKpTUTg7xuG8XJFDZfN6LW9ndsTh12EGDMShVUhNiQtPri3vBzKBUxmogOdzw9eLpfpR EUlO0zNUqb7JvL3HIO3oUloLUp7aznHYjsn99jj9pdNDx9Bcj8SlHbbDgg/e1fUqkLA1 4p9Q== 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 f9si13391501edd.245.2019.09.11.01.20.15; Wed, 11 Sep 2019 01:20:39 -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 S1727291AbfIKISD (ORCPT + 99 others); Wed, 11 Sep 2019 04:18:03 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:40008 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726735AbfIKISD (ORCPT ); Wed, 11 Sep 2019 04:18:03 -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 AEAB115567343; Wed, 11 Sep 2019 01:18:00 -0700 (PDT) Date: Wed, 11 Sep 2019 10:17:59 +0200 (CEST) Message-Id: <20190911.101759.1557703938346599792.davem@davemloft.net> To: poeschel@lemonage.de 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 From: David Miller In-Reply-To: <20190910093415.2186-1-poeschel@lemonage.de> References: <20190910093415.2186-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:18:02 -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: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. > @@ -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.