Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1293092pxa; Sat, 15 Aug 2020 14:40:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9chxHqIcVurMzLnQI4XxzLN170ycZCuqiZfAG0M4kM4CyWAGdBz02rFOOFVtM+RnIvtgr X-Received: by 2002:a17:906:4a0d:: with SMTP id w13mr1227581eju.247.1597527615970; Sat, 15 Aug 2020 14:40:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597527615; cv=none; d=google.com; s=arc-20160816; b=B4z/CSJAlRtvJ0KF84tUUqTjP3Gd0TW8izww7TNCNKGhr05NQJASHO8Wfw0KO2K7Md UxjQnZMMto3yoWTQkI6ZkhrWthlhu/1RGX/AB54wPi7Jb6TVXdkLkZYB9Qx0zvCYSfY0 BvYzOiuSFukv9K4phQ51sVKoXe8eyTjFvU+OPQMf/5woCIzYYhFOx8MTcJprvi4Ex/OU YVo5ry6+Mk6qv+ZSYxZ0Qw4tn5ozbKUIuC0NB2PmFz3cfgYDohT8A30ZscVM7uoPonBQ gBZRiSgh42+YIGmUcNt3nhpViPhVQo8P6+Zb7DNKPm/jufq8SV0ur4XX0sCuoSn9t8bf Abaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=9U2OAB0hWLFpSZ5uT0lqPBi4lzuIaCJcS+6YDKXv93A=; b=e5rLMVlU4ubqriPBMTZ1+XFDwBwvvWqILoN01wYImqD2YDEKZ/R1ZscqnFJ2t7p+lU ZXKBKWjSJu0U8KhSaURQQJj1ZRzfRoUr6x2ao3gvTFpSJpASJ2JZnW6zkusr8fxTjAta zsMpWKKtX9rLHNpp/ecok4KcmwgFagGG7skyGQ8P1xk7GVErjfIQ1zwzDdceFbJM9TWQ 78dYh3qr3mpWHOh79zaK3qL0kGeh9XdW+tYB2MCBr1MM4gunhHusFQlTWJKlejuVzqB5 OdB04VLIZWXLxK7BGAVFePjIMd3xWQsQBffpbgyvOQDM14M6FPEt6y5L2rKaHWBy9PaE AVkg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bt2si8137093ejb.597.2020.08.15.14.39.53; Sat, 15 Aug 2020 14:40:15 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726847AbgHOVid (ORCPT + 99 others); Sat, 15 Aug 2020 17:38:33 -0400 Received: from mga07.intel.com ([134.134.136.100]:62772 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726288AbgHOVid (ORCPT ); Sat, 15 Aug 2020 17:38:33 -0400 IronPort-SDR: 7aDkoqkccl2pA39I2vHozCLzR5T44O7sfwmIVDr1Tr6odwuvHZn58W67XKqWlYXU01q3M2GznO oL1kUJVpV7Qg== X-IronPort-AV: E=McAfee;i="6000,8403,9713"; a="218860632" X-IronPort-AV: E=Sophos;i="5.76,316,1592895600"; d="scan'208";a="218860632" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Aug 2020 05:55:34 -0700 IronPort-SDR: CKSlF3hOH2ajsTjU/m9UYHYRy5AIEiRNAhByojGtC9bOGjvl44P4wgAUq1ZhZIDIP06WiJZfZl CBInzwoYTaIw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,316,1592895600"; d="scan'208";a="370134267" Received: from pl-dbox.sh.intel.com (HELO intel.com) ([10.239.159.39]) by orsmga001.jf.intel.com with ESMTP; 15 Aug 2020 05:55:32 -0700 Date: Sat, 15 Aug 2020 20:52:43 +0800 From: Philip Li To: Julia Lawall Cc: Thomas Gleixner , kernel test robot , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Theodore Ts'o , Jan Kara , Nicolas Palix Subject: Re: [kbuild-all] Re: fs/ocfs2/suballoc.c:2430:2-8: preceding lock on line 2413 Message-ID: <20200815125243.GA21882@intel.com> References: <202008141412.mP88ccpD%lkp@intel.com> <878sehl5e4.fsf@nanos.tec.linutronix.de> <87364pkock.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 14, 2020 at 09:52:13PM +0200, Julia Lawall wrote: > > > On Fri, 14 Aug 2020, Thomas Gleixner wrote: > > > Julia, > > > > On Fri, Aug 14 2020 at 21:00, Julia Lawall wrote: > > > On Fri, 14 Aug 2020, Thomas Gleixner wrote: > > >> That's clearly a false positive. Is there anything what can be done to > > >> help that cocci script here? > > > > > > I have a better version that needs to get pushed. > > > > > > But normally these pass through me. Did you get it directly from kbuild? > > > > Yes, because I touched the affected lines last :) > > Actually, that's not the point. Normally, I get all the reports on this > case, and then I forward them if they look ok. If I forwarded something > incorrect, then sorry about that. If the policy has changed for this rule > to be sending the reports out directlty to the recipients, then I think it > should be changed back. There are a lot of real bugs with lock usage, but > there are alot of false positives too. Specifically, the rule looks for > the case with identical if tests, but only when the branches are identical > too. > > Kbuild people, can this be adjusted? Or have I misunderstood the > situation? Hi Julia and Thomas, pls allow us to check this further, usually all cocci reports will be sent to kbuild@01.org for Julia to check. But there maybe something wrong with this report. We will check the detail in next week as we have server maintainance during the weekend. > > thanks, > julia > _______________________________________________ > kbuild-all mailing list -- kbuild-all@lists.01.org > To unsubscribe send an email to kbuild-all-leave@lists.01.org