Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp463985ybb; Thu, 28 Mar 2019 06:10:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqylrdqSf51D8uCVK61U6nAZBmDsfCBYZRiYiprydeXkZYTy/VRCFN/d5Uz0jOT5+ZUtm8tl X-Received: by 2002:a17:902:407:: with SMTP id 7mr43020058ple.62.1553778601312; Thu, 28 Mar 2019 06:10:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553778601; cv=none; d=google.com; s=arc-20160816; b=m8ZnKd1GrNLO9fCMWw6GKWHzfEMLTJwdlDtTEXET7jjKO/kNWlTlLwOqYw+dB/gWer A7mf/g8v0oB2OaLQd5wGl4sQdlHcVwYmkBf93v5iSjEr5CHOJp4OBGPDNiAUAKXgD4Nh 8PmUJ6xMoisZ1UAz86EK/oUSlHPRwg+HdeW0fwnIKOHcAemG3FzSN8rcuVtp88QDwr0u 8IQQBudSnJMp6asEwFccmxmGUAYEasbfK3dLwJsAlYxyhA6/pdU/5vfwQt2zNrUI+sC5 fMfv1UayosIxYT1D01FjwnO90w+5FeWX2cwpn/tmpF2/4OYpyynv47GGP5/Mf7AuUh/U y02A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:dkim-filter; bh=nNDy7x/HQuHXlxZ1crpYzQdxixf+oAWzGu1wozRJaz4=; b=oT9ZApbHvxtC6p8PPIsj7cG8wETe2my9G74g61oc4wzq4qEKTQWJFV4Irxqq3QAuyh JqNr0cH8NT8z+tUzZ6omK++q0HEN0t6dzV4BCcQRPeyGcrAIIlRJ8/rfjPPH5L0AhHkD qvxdTjQipz4SK3+cdmWfugewHtceFG8rXyy4cZcyKGDb7k0Vrvc+1aA7lrcQaPS6KvcP NHFkeT/j/iKoLTjZiZ+unf7t3iR4M6kCuehCqgGeLfm+OZnULlEO2pOSiAE2j3uMOGp+ 5fWot9eEvigLhtGetKzn9cKygDNDmNiSIDyLXUGGvHSSQKwQ3wDtbYB50eD5mkgj/A3/ LjPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=LM483Zxf; 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 h11si10481204pgp.391.2019.03.28.06.09.44; Thu, 28 Mar 2019 06:10: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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=LM483Zxf; 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 S1726334AbfC1NIx (ORCPT + 99 others); Thu, 28 Mar 2019 09:08:53 -0400 Received: from conssluserg-05.nifty.com ([210.131.2.90]:56585 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725816AbfC1NIw (ORCPT ); Thu, 28 Mar 2019 09:08:52 -0400 Received: from mail-vs1-f54.google.com (mail-vs1-f54.google.com [209.85.217.54]) (authenticated) by conssluserg-05.nifty.com with ESMTP id x2SD8f3O003839; Thu, 28 Mar 2019 22:08:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com x2SD8f3O003839 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1553778522; bh=nNDy7x/HQuHXlxZ1crpYzQdxixf+oAWzGu1wozRJaz4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=LM483ZxfzDx0TGjAmkP4ofZlwCDUYO5s2K+c3zm3alPiVlaHmrMlrHR3oeTE/sMcn C5z4uf+1iGfcSNvXpp08yo9V7nhdeqCWizlE20ZGq919HPbu97iUrNLpK/6g+NOz7g fFCLV/3323w+F1LSnZzb9Rr4Y64VjgycrXv31eluifA9vBxwhL+IbluwXedvPjcm1i zBakQTiRO+YF73Ynz496lirycJYU1Cmmba2SnfVbMYQ4AMh5YM04lrrblsf2Cvy5yF AbE9ZnWuUb/lx3dCNuRL/b7dw443f6agPMjbjXY2cPyeGCjw9oC25JNcqmzwVUg2Ks sOinS2y/O41Fw== X-Nifty-SrcIP: [209.85.217.54] Received: by mail-vs1-f54.google.com with SMTP id f22so8359255vso.7; Thu, 28 Mar 2019 06:08:42 -0700 (PDT) X-Gm-Message-State: APjAAAXv81lcT9ac+JF+rBfrmBMbZntAi5x9GF6ePZl6AthEVpHoF4cW m56LNNDKynkh1oz1rwNwN3cATN57RYXLSqK1Im4= X-Received: by 2002:a67:f105:: with SMTP id n5mr26171042vsk.181.1553778521498; Thu, 28 Mar 2019 06:08:41 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: From: Masahiro Yamada Date: Thu, 28 Mar 2019 22:08:05 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] coccinelle: put_device: reduce false positives To: Julia Lawall Cc: Dan Carpenter , Markus Elfring , Wen Yang , Gilles Muller , Michal Marek , Nicolas Palix , Yi Wang , kernel-janitors@vger.kernel.org, Linux Kernel Mailing List , cocci@systeme.lip6.fr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 26, 2019 at 7:16 PM Julia Lawall wrote: > > > > 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 "&pd= ev->dev". > > > > > > > > > > > > Would this information qualify to add the tag =E2=80=9CFixes=E2= =80=9D to the commit message? > > > > > > > > > > Fixes tags relate to stable kernels, so that one can see which st= able > > > > > 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 find= ing > > > > > 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 undesi= rable > > > 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. Bu= t > > 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 I added Fixes: tag, and applied to linux-kbuild/fixes. Thanks. --=20 Best Regards Masahiro Yamada