Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp309305imn; Wed, 27 Jul 2022 06:57:35 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tTl6r/+PdWzoJGwOeO4WBA4Ugmu1l+9JhL1WXwKUlHp73M2/I2WU1XUawRrbzeE5f0AYXK X-Received: by 2002:a63:484d:0:b0:419:cde7:a912 with SMTP id x13-20020a63484d000000b00419cde7a912mr18953649pgk.621.1658930255277; Wed, 27 Jul 2022 06:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658930255; cv=none; d=google.com; s=arc-20160816; b=XoHvndHJyQfovqdteZwURJ253uU9Ap/yO8yQnoiFda28F27u3BqAZqwJnHYiLPHzsZ S19zIvEF9nwoMK2gc+En3VFzwj/TyyycHGY3RbhS3ArEwiRArI54WYKnaT+Z+2SJLMpD alehBWVj2siAt+EvsNwpbz7EJXHe76sBIHPm9Qf2z1ZtCsso8TLuABPHZYMiK40O4qSd lnCRiTE4fTEmrjL/kivQDptPKIpYhzPNXUQbP/kr3V94wgDg76i4MLfFO69SMlW76FQU iI9Gto1uusnTAIHLLItjt/5DSf8GvIizQmZOJD7xj7TdueLBTgWDuN7qvo3eTxDB2lNg AsQw== 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=kqFNbE+aXXivn44JOwD+CLf88ASFJmrA3QkI4yv/BwY=; b=Hu64cYyh9lGPROL5+weAWy+LsQVBJb2Su8t9dGHc4jI77LvTkbPJWTRmDdNUFoH3HW uO4V37yyXVMA57Cy/2933HCTt/MsiQyWmY0JCE/EY7/POSt6Lz0kgvqDltnPXWGJWaAc umboRIK1s6AxtU6y+m0etc5wNWIi1FD1nBTlQg3K0aELSQ6QZzfSG2WUICXeS2yPY59/ nxEUza9y8Ic1sFfFrUkCanRfdAlWIl4kFXvFP5pIWIfxBBvQaemuDPyqAzPDpy6PsLj9 JWsG3Ot9LwefAGZdbamljLvsBX27P7YDOLyuXG/gCVyMFB/N/Oh5mQNKfkDcQubJb23H YfNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=WZyfnrrh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q8-20020a170902dac800b0016c50179afcsi9390547plx.302.2022.07.27.06.57.20; Wed, 27 Jul 2022 06:57:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=WZyfnrrh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233524AbiG0NZ3 (ORCPT + 99 others); Wed, 27 Jul 2022 09:25:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232646AbiG0NZY (ORCPT ); Wed, 27 Jul 2022 09:25:24 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD526EE26 for ; Wed, 27 Jul 2022 06:25:23 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id c12so14000507ede.3 for ; Wed, 27 Jul 2022 06:25:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kqFNbE+aXXivn44JOwD+CLf88ASFJmrA3QkI4yv/BwY=; b=WZyfnrrhksvpWBLouKDJn/piW1ld+hisGQMb+xy+M/pOxZtD7PWWggX9zC42TTJP54 PyyYX2/7NnOKDxAunaUK4YwkRbAbB5Euo7eHuzONYuVAR/vYbMIUu5xKiWOyPNmMzmqS U3dCYoS3Ps9LVJJSFl6izA265QF5NiaAjPwrU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kqFNbE+aXXivn44JOwD+CLf88ASFJmrA3QkI4yv/BwY=; b=yu7tWz+ObcyZzvdyej5giC/A08tRpKJh9JY7TgACuSDmQoUV9T9pA5xEC3bi62QOel egPyAspkstJRchhDK3MV5JkwPAruoZ/PpjR2hrlhi8fWmmldkCXG2n1NnQT4IKK0uZcQ FoqeeXwNmUlLhNSqVZYCYdE+TKNvt/SCykTN8ATRUWdY5NCZ98ibehiLQdSYaSFefO9V 6JjPJT5Trq4GUH+L4+Q850+OSC04+uwcrHg6bl6wgndmVGGiwr8OaHdPorEwGDDBjKp7 ANa28LTHOf+FxYiF7kb+cqbMS0ofM7QggFVCZBlDISTsT+/XMltv0iz101cpM84d3kGb 0qKQ== X-Gm-Message-State: AJIora+f1a6en+YSKZxrNBXGCRaz3ItugeqDqShtztQdEH2nzpa+rpPU w/NfJkm3ay6fTdatguq1A2LurJvx7eFammbibbeHXg== X-Received: by 2002:a05:6402:e96:b0:43a:f21f:42a0 with SMTP id h22-20020a0564020e9600b0043af21f42a0mr23708627eda.382.1658928322262; Wed, 27 Jul 2022 06:25:22 -0700 (PDT) MIME-Version: 1.0 References: <20220712152318.2649819-1-williamsukatube@163.com> In-Reply-To: <20220712152318.2649819-1-williamsukatube@163.com> From: Miklos Szeredi Date: Wed, 27 Jul 2022 15:25:11 +0200 Message-ID: Subject: Re: [PATCH -next] ovl: clean up comparsions to NULL To: williamsukatube@163.com Cc: overlayfs , linux-kernel@vger.kernel.org, William Dean , Hacash Robot Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 12 Jul 2022 at 17:24, wrote: > > From: William Dean > > Clean up comparsions to NULL, simplify as follows: > if (x == NULL) -> if (!x) Again, this has too little worth. NACK. Thanks, Miklos