Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp889059pxf; Wed, 7 Apr 2021 14:13:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQcZVwXufDEg4vuUG6sm2JutKRxnQKkEQjnA2CQkeLWiucG9IkQpssi/xaFvY1wWpux3Gi X-Received: by 2002:a17:906:5618:: with SMTP id f24mr6259186ejq.414.1617830014079; Wed, 07 Apr 2021 14:13:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617830014; cv=none; d=google.com; s=arc-20160816; b=QMUu78PMjKb1EWO5x2s9/oTK9kB0bCkfSLIqFCV0//grtOvlfshS/x1guRvEsX2Jhb uePW4cgLtGJI2Oc/yC1MQXaSqMcMcAIncgZlq8EatnGIJlROL41/uWK7jsujNZZCrRuw w5FuWKHGdGh87SE/878SqgWATCFuup7V6lHjEGH7hv1IXUyQN/XEGGpHSx0IEoEt6GKr vpjlbNFbSpm+Tuekj1fIwHRHKsDcXUciyU/nVntbN7sL9MjMf/a0m8HB7TzewjvGpyhp UteLmIMmtQ5Mz/K2UGvhK0wtLjQo8b/sts9+pFXmDJjl6v6oXOw8tCDHhxgB3H3pNVn3 oG6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Ioxbn/eDGja/6f960jCw/TNX/f7w2wM3/hW2sxX0gro=; b=U3D1Vt2zL1x3FC2YwVWG6SsK6F2PX5GHJAWGmSKfI8xT1o6OtzSsO2KNne5KSV33gy fQBqC8uVOP93UVbCusTZHTzrt79rejuEPy1ujaxT2QoJPZb0cbJHXrdYUMMYRTGJjVdr 0AM3eR4K+l2G1RPQwufvcAL77Joccmxs028RS/QBhGoP+z2m7PMHsuqljXFhs1oFzVdg 4T2y2J1ZnFoydgmn4OpujAMBWyQRIWaYG17LPKN+WhMLvYokV41XZ6tCmJZv+huKyMu2 9dGykl0lAl5PlumBD4rIU1nB0/tcwupmxQS8yj4XH2HAz2Q5DZxu4O3U6iBrOuGRYgmo umPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=IUC3ZTOp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mb15si19790205ejb.147.2021.04.07.14.13.10; Wed, 07 Apr 2021 14:13:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=IUC3ZTOp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353403AbhDGPOX (ORCPT + 99 others); Wed, 7 Apr 2021 11:14:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:34102 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353381AbhDGPON (ORCPT ); Wed, 7 Apr 2021 11:14:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 182C861222; Wed, 7 Apr 2021 15:14:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1617808442; bh=nErVba1gmF100xpOfZS1/cp4xFDT4vG9CwBj8teGB8k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IUC3ZTOpBBWQVK8+e74PjBBjhfSTOzvl2O1FI6g9/c+JItRtAz1asKOLYFIi11DLm XksLBJ9G/CdzHpHmtsLz139Yxa26hAKCQh0wU8FoGn1o2EVGktdBNf8dT4pmzPxhyO VoS5J6sRZgQH0URlJicrLxAGbOAJ9LvOgyaqD1OY= Date: Wed, 7 Apr 2021 17:14:00 +0200 From: Greg KH To: Fabio Aiuto Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 07/19] drivers: rtl8723bs: rewrite comparison to null Message-ID: References: <0c6d53c851d1b07eb0183108e0bad7b4f273f04b.1617802415.git.fabioaiuto83@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0c6d53c851d1b07eb0183108e0bad7b4f273f04b.1617802415.git.fabioaiuto83@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 07, 2021 at 03:49:31PM +0200, Fabio Aiuto wrote: > fix following post-commit hook checkpatch warnings: > > CHECK: Comparison to NULL could be written "!psta" > 97: FILE: drivers/staging/rtl8723bs/core/rtw_ap.c:2115: > + if (psta == NULL) > > Signed-off-by: Fabio Aiuto > --- > drivers/staging/rtl8723bs/core/rtw_ap.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Nit, your subject line has "drivers:" not "staging:" here. Be a bit more careful next time please. thanks, greg k-h