Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4111980img; Tue, 26 Mar 2019 03:17:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqynOJVZRMahD9wIpI5ekid2vndOWqrZ+O1lM4Hju/MBrnh8x4F4ZJCbZOF5GnwJa5XEes4q X-Received: by 2002:a63:4750:: with SMTP id w16mr28668045pgk.256.1553595421601; Tue, 26 Mar 2019 03:17:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553595421; cv=none; d=google.com; s=arc-20160816; b=YnG513rC+eCQfBURbcHbXHJ1eHWJShNk6DinhaFBy1OTA3fCjPWP+oYNtoRMvSF941 9FSGROprqP+xdtAYwfW/s6O2fiG+BnQgF3LTyV+1DW7HRMD9McUPKhWKutVLhXXWKbZ9 zmOW/tuvdhXHHjH16psq7U7erb5NoZRDYztYadJZ+vlyikHufbW3RbKGQtHCgleJcQOm T7/pH968CTGoPk/Z2J/IZ31rQYloDAYRAH2dO4sabwuruIfjug/JBfGrsKhNasn/AG4h jX4V8sJTg5dkkNXdGMQt4ig4TGCfB3HpfnDJIA68DlKDPQzpzozYtpie0DCNZparcQhH 8MQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=MiWTd5qISepyiXGPX0Se7iRXlhCfa5UqDlBCtdp75zE=; b=hYHZOQwuLxcUWOdp7zqmDMAsEhzXlnLicTxqapxwwwfmEwfxGyNU6zqrUyKEpIy5px Z6cQG8nFmMUumNUnXfG+rz6htj9SQlDWjO+CxCUGm7xna7cCRMWU3TRUzghuNkFmx3yj MN3wP3dLnGQTiukHi9aSSnn+5kjtSMhzveFqCyk9PJ3EiICv3a8YzDiqxyQBwiVB59OK LSQdE1wKxb+Mzls0Q5XQ+XM1SK/Qb+vcD86h9kn2jbLNbWCm7JsNX9+OkN9DxJgU5OgZ H211afijZUtyY+2FuU5Xp7oRunq19UcBSxD/2CnmV7HMteafFKz71iELrVpxPkkx0ORG EYxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g8si15442292pgq.159.2019.03.26.03.16.45; Tue, 26 Mar 2019 03:17:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730722AbfCZKQD (ORCPT + 99 others); Tue, 26 Mar 2019 06:16:03 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:38371 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbfCZKQD (ORCPT ); Tue, 26 Mar 2019 06:16:03 -0400 X-IronPort-AV: E=Sophos;i="5.60,271,1549926000"; d="scan'208";a="375784174" Received: from vaio-julia.rsr.lip6.fr ([132.227.76.33]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Mar 2019 11:16:00 +0100 Date: Tue, 26 Mar 2019 11:15:59 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Dan Carpenter cc: Markus Elfring , Wen Yang , Masahiro Yamada , Gilles Muller , Michal Marek , Nicolas Palix , Yi Wang , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, cocci@systeme.lip6.fr Subject: Re: [PATCH] coccinelle: put_device: reduce false positives In-Reply-To: <20190326101103.GH32613@kadam> Message-ID: References: <1553321671-27749-1-git-send-email-wen.yang99@zte.com.cn> <179bbdd1-3fcb-bba5-52b3-7f96973c7650@web.de> <20190326084512.GC32590@kadam> <20190326101103.GH32613@kadam> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323329-730138997-1553595359=:5021" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --8323329-730138997-1553595359=:5021 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT On Tue, 26 Mar 2019, Dan Carpenter wrote: > On Tue, Mar 26, 2019 at 10:38:43AM +0100, Julia Lawall wrote: > > > > > > On Tue, 26 Mar 2019, Dan Carpenter wrote: > > > > > On Sat, Mar 23, 2019 at 09:06:54PM +0100, Julia Lawall wrote: > > > > > > > > > > > > On Sat, 23 Mar 2019, Markus Elfring wrote: > > > > > > > > > > Don't complain about a return when this function returns "&pdev->dev". > > > > > > > > > > Would this information qualify to add the tag “Fixes” to the commit message? > > > > > > > > Fixes tags relate to stable kernels, so that one can see which stable > > > > kernels a particular patch should be propagated to. There is no need to > > > > propagate patches on semantic patches to stable kernels. People who run > > > > stable kernels are interested in their behavior, not the bug finding > > > > rules that they contain. > > > > > > The Fixes tag is not just about stable... For example, we use them for > > > statistics to see how quickly bugs get fixed etc. > > > > OK. But still do we need fixes tags for bug finding rules? Perhaps if > > the previous version was really broken, and it would be really undesirable > > to use it. > > It's not worth resending a patch for that, but I probably would use the > fixes tag. It depends on your definition of "bug" really... I tell > people not to use Fixes for spelling mistakes and unused variables. But > I do use the Fixes tag for things like "an off by one in a sanity check > which doesn't affect run time because the index is always correct". OK, thanks. julia --8323329-730138997-1553595359=:5021--