Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp161349pxv; Wed, 30 Jun 2021 02:33:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxkHTNrWJn0FI4HZOLpJ5N/6980BJvNVuk7MhdtL3N56mMLOHbi6ahIv0Pv52CThtE8XqX X-Received: by 2002:a5e:d512:: with SMTP id e18mr7202297iom.149.1625045583022; Wed, 30 Jun 2021 02:33:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625045583; cv=none; d=google.com; s=arc-20160816; b=p+ZugHLqwENaB55LpLgyXeXmtWmT8eYHjn4FNeL7MzsDGI95BIl2Ly47WOQOZx2SQA UcwPeR+bEGLD2sfUpo2ltg5j1mM/FJrMz1s6/rHfy3ahSs8DxAzCnEP7r43/jOBlP3ik Q1y58PP/elJdLs/9VwDEoFbzdceixcvtY1SVmDH0+EqM2lh0dLMjBbppqZ26ctDyF02f Y555l1KTMtI2Cf5V7zE5mg5Kc6ywAn+RA7PFBrma63xlBj3T8U8QF1sYiycbqiuSh0iK r2BvhzXRwDZDJUNEJXON4yyPShedf8nrX1hWz+z5XWyOOsOo1C8R2AqLzAWoxZNZsZ92 7W1Q== 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=s84xWd1p9DCpVsXKf4nBb4ne/r0AwwB4mEPb8wiEAyI=; b=on4ftQXPHObWW8FApvXLaaXQw38Ht/pNO2ur8GgMB3Xqr6mTV2f72tDOmNUopOWBxG ryHcQN4mxfQa0u5LxdHdIWGiOzofo/nHRBthyHVxuOnERsLrb+MrSCzjzMHDzo5JqxwR qtpIa3bCPulz3aZ4rXPSfJdGhR9s9DjyZXAA1sfv9ygCJrmwhemGKg2wyGOVfegofM9F kS1Uoas6KmBBXSefhHRr3yV/9g6be/lDDHq1ZU/9T3+NCBq8rUZhi5j9Bod+xdrcLeY5 bpiNdKo0jEQ367MjBAfwFA1VANvNSxD4KKrEQjYeNw+6JfE59Vhqc02m+Nliryldq6jm NK1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="UN1bk77/"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 q11si23687514jas.56.2021.06.30.02.32.47; Wed, 30 Jun 2021 02:33:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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="UN1bk77/"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 S233779AbhF3JfH (ORCPT + 99 others); Wed, 30 Jun 2021 05:35:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233541AbhF3JfG (ORCPT ); Wed, 30 Jun 2021 05:35:06 -0400 Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49EF4C061756; Wed, 30 Jun 2021 02:32:37 -0700 (PDT) Received: by mail-io1-xd29.google.com with SMTP id k11so2353690ioa.5; Wed, 30 Jun 2021 02:32:37 -0700 (PDT) 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=s84xWd1p9DCpVsXKf4nBb4ne/r0AwwB4mEPb8wiEAyI=; b=UN1bk77/jwJOWukt6oMwSo6iUhXHClYKODyfghK8PfB9VWa4l1/l/HMzJ9eCfBmAVY yDz9fINSACQqTpdsRb5CeMw76w6R/xvKtBPqXiatoOJli5lNtsWsn1kh3hgQTneygvoe 5Ig7OiZhELElAolo8IegDEVw7UdXBLtx1FNOcCXS1GnqH27Z7hd03nVKCNiDScMn3eUR DlzEcl9rz1QHkh6GIfL36mJ3wF4DdZmD5mla5pyszMBJRoqyl+ciPqPh7PuQh4HjqjwT COkXoWDzGWuE+1qRRx0kAEla7+zwgAxHKAvpPuwgVjjnUeG9h7ymnQsfwyPCQpBzI6QN JYfA== 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=s84xWd1p9DCpVsXKf4nBb4ne/r0AwwB4mEPb8wiEAyI=; b=k8gKe8P2yU7dyY95X1IDRol3i59ZkXySInHRBg5HUHV6kwDXgRef4HR4kU9QMNi6IP Aw+rF197cqYlVDGpu9B7aj8JVsm13Ql1ny1b9Lh80tedLMedmcZ1ewIx3HOQSck3NtUf NYHRbioI7k9UTrMnW4E/8y7hc5LR7qJOR/yyQI/DmWkqmFoJtKH0pVwHz1lnUVYQmgWe ZSfkexI8Uuogc1LPSAM5faTJ+d6w/Mxams7vlDBH/qPnvDVXeA7omtPoF/3/3e2C3g4X bRsPzRSh2/M/jzkMFmkqBxxgm6FsONnzQOBpYJHKVN+vy+4F4z0+noaEYyi/6sMAX2Sa ZraQ== X-Gm-Message-State: AOAM530Mefk/oDXQwKar0OljnBh7ZFAGZVj5bq4gsPkBv7K9k9HwCnBi 0gLxNV4TSzCesOLnEUy/ifN+r9jtcfpz/vXVBvk= X-Received: by 2002:a5e:c60b:: with SMTP id f11mr7117430iok.72.1625045556650; Wed, 30 Jun 2021 02:32:36 -0700 (PDT) MIME-Version: 1.0 References: <20210629191035.681913-8-krisman@collabora.com> <202106300707.Xg0LaEwy-lkp@intel.com> <20210630084555.GH1983@kadam> In-Reply-To: <20210630084555.GH1983@kadam> From: Amir Goldstein Date: Wed, 30 Jun 2021 12:32:25 +0300 Message-ID: Subject: Re: [PATCH v3 07/15] fsnotify: pass arguments of fsnotify() in struct fsnotify_event_info To: Dan Carpenter Cc: kbuild@lists.01.org, Gabriel Krisman Bertazi , kbuild test robot , kbuild-all@lists.01.org, "Darrick J. Wong" , Theodore Tso , Dave Chinner , Jan Kara , David Howells , Khazhismel Kumykov , linux-fsdevel , Ext4 , kernel@collabora.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Jun 30, 2021 at 11:46 AM Dan Carpenter wrote: > > On Wed, Jun 30, 2021 at 11:35:32AM +0300, Amir Goldstein wrote: > > > > Do you have feeling of dejavu? ;-) > > https://lore.kernel.org/linux-fsdevel/20200730192537.GB13525@quack2.suse.cz/ > > That was a year ago. I have trouble remembering emails I sent > yesterday. > > > > > We've been through this. > > Maybe you silenced the smach warning on fsnotify() and the rename to > > __fsnotifty() > > caused this warning to refloat? > > Yes. Renaming the function will make it show up as a new warning. Also > this is an email from the kbuild-bot and last years email was from me, > so it's a different tool and a different record of sent messages. > > (IMO, you should really just remove the bogus NULL checks because > everyone looking at the warning will think the code is buggy). > I think the warning is really incorrect. Why does it presume that event_info->dir is non-NULL? Did smach check all the callers to fsnotify() or something? What about future callers that will pass NULL, just like this one: https://lore.kernel.org/linux-fsdevel/20210629191035.681913-12-krisman@collabora.com/ Please fix the tool. Thanks, Amir.