Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp53653pxf; Tue, 9 Mar 2021 23:37:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGzX6HkRe9yXGkaTLLvP2+oVWGeYCLbx45CYXgMZQ7C5XKvrjBtkbaeDD9YSAokL13o9eL X-Received: by 2002:a17:906:1494:: with SMTP id x20mr2217365ejc.101.1615361828521; Tue, 09 Mar 2021 23:37:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615361828; cv=none; d=google.com; s=arc-20160816; b=OgeQIIbhC9SnSXu5HDlw+W/HyNWIJjrHBBLag/HMSBcZ/+jGhy9O3K8eRWgDA7fqzf 2J57sZXEzO1HTNR1RtqBY8FZbCZyI0PhNHbWZM/1YA6gMlvFvhkuBlZ2/yqp1ohCDAM1 V7hhua+q4pjdnU2jH8E3Za53RivLy4ZGpd0c1eNIeT1U4JAiXEwNHAaIlKnQEqrbEx33 v7BDGt3Nm5SDPid6/USVTZyNBe9qq0cwr2Sx2DB4w35orFUt3+OozBiI24kcu6nNPPol Z9FRNtbzjbFFYzpGpTNU3D+SmmitXxUBgzqdgaJDXY0iRjDD4xMSi/XjEBQ0dqA/3tcZ +ilA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=BOyazx73bKuDxT9YFQZ+98Lel151zbsjsLGlPaNK1No=; b=ha0MJmMpAU+w0Vh8SZIZI5X4ka99H+pcr6sRvtARc8rdXUzE2hLsvOb5rBtSxSuRsj 8w1ZQ/WqiPvXsP5Vi1/UynK75Yi65cNelJucplpW1/3rl9VGWiP6/dZIWMWZtNhzWYli kALN5BdL+yRo3QKjeFmxGVWvg0KWrsElEmpbbpactUOVvRKy3Q+xDcsuAWdnWonWiZiS D3puNZoY6Zx4+9qNPws1roSh2gu+D0k9JNRhT0CM/5vLhgtoE89DgcNTFLuVDfEVnj9E UdfKY4ln6BUJQfv0d4H5fzgn3LQd9kqlmap4uvvnci5F/mGmgdJCkg2XbCM4s54o207G LyFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GQX3w3Hg; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q2si12243168edw.238.2021.03.09.23.36.46; Tue, 09 Mar 2021 23:37:08 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=GQX3w3Hg; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231158AbhCJHft (ORCPT + 99 others); Wed, 10 Mar 2021 02:35:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229763AbhCJHf0 (ORCPT ); Wed, 10 Mar 2021 02:35:26 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 037D9C06174A for ; Tue, 9 Mar 2021 23:35:24 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id mm21so36425855ejb.12 for ; Tue, 09 Mar 2021 23:35:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BOyazx73bKuDxT9YFQZ+98Lel151zbsjsLGlPaNK1No=; b=GQX3w3HgDZ3XpcKbxx6BPNluskMFI30wJnXIqgGw2DCsm14QOrhZ7iU/BMYQ7KZag8 AUMVg16XZCUGtNVRgI8IOjQy6V2l00Zx9ujX0KW8YjenSiK2A5YbzF4rjl3m6I9I3LmI X5JYIWdqwYWzxqLRFNhkxVwi3fbUJF7XRF7ftHNbre+LvkkKhUyJixnwSlxhGVlPUDzv +L6WZ0WCBr2ENGzS1+c+iL9oMCDyyB0EiOTJcOxrsm1W6qVZTvAYVb/4WK+mO24xf6RW St8cj2sYoR1Sew0wE2TCV/GcKbCiFAgXBwemM81Bm+u6sh0KcKoQXIXIEIphYbsqQA+g EcWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BOyazx73bKuDxT9YFQZ+98Lel151zbsjsLGlPaNK1No=; b=iBrjrC6dHrTSaa5eH/eDzEcIjGCOyEpiPi9PurGxi2hmI4f475GbzoirAQwxqjbAng 0o7y5FpX4NE3xKaph0VgNmnulfUjkyVhqNVoqiY5T9t5DS91a+o8pK7s8rMCGoouavM1 pyLZtXi0oZL+zWETVvh1WYeS+wjcIciAPMywsdBVxq3GRB+W2WbtRqlrD7XcEhsgif1+ VAYVa+xjwiibDlEIRuwwx+UyFWliqjt6WrwqIQs8PhpGM+LzJxWRKma17BG25wAPxCCj Hpqc5+ly9Cs4ik/H9cEopWUpmVMbrHu3R5D7XoulXAiioX/W+qdLlOR++5Y8rVXQP0vD wcvw== X-Gm-Message-State: AOAM532kH9+7DX9I4hAEzEK248ApoBXaK8EkTRIoexz4TIf+tjtGF6RW QVamj4lUuxM7JbXkrZpNQvMt4cA3m/v9s8Mz4mx4vY0n X-Received: by 2002:a17:906:30da:: with SMTP id b26mr2207660ejb.376.1615361722831; Tue, 09 Mar 2021 23:35:22 -0800 (PST) MIME-Version: 1.0 References: <1615360238-22508-1-git-send-email-jiapeng.chong@linux.alibaba.com> In-Reply-To: <1615360238-22508-1-git-send-email-jiapeng.chong@linux.alibaba.com> From: Max Filippov Date: Tue, 9 Mar 2021 23:35:11 -0800 Message-ID: Subject: Re: [PATCH] xtensa: fix warning comparing pointer to 0 To: Jiapeng Chong Cc: Chris Zankel , "open list:TENSILICA XTENSA PORT (xtensa)" , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 9, 2021 at 11:10 PM Jiapeng Chong wrote: > > Fix the following coccicheck warning: > > ./arch/xtensa/kernel/pci.c:79:17-18: WARNING comparing pointer to 0. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > --- > arch/xtensa/kernel/pci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Thanks, applied to my xtensa tree. -- Thanks. -- Max