Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932825AbcJRQeh (ORCPT ); Tue, 18 Oct 2016 12:34:37 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:23232 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754585AbcJRQea (ORCPT ); Tue, 18 Oct 2016 12:34:30 -0400 X-IronPort-AV: E=Sophos;i="5.31,362,1473112800"; d="scan'208";a="197258264" Date: Tue, 18 Oct 2016 18:34:25 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Vaishali Thakkar cc: mmarek@suse.com, Julia.Lawall@lip6.fr, Gilles.Muller@lip6.fr, nicolas.palix@imag.fr, cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org, lars@metafoo.de Subject: Re: [PATCH v2 0/3] Coccinelle: misc: Improve the script for more accurate results In-Reply-To: Message-ID: References: User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 700 Lines: 20 I get the following in patch mode that I don't get in context mode: diff -u -p a/drivers/power/supply/tps65090-charger.c b/drivers/power/supply/tps\ 65090-charger.c --- a/drivers/power/supply/tps65090-charger.c +++ b/drivers/power/supply/tps65090-charger.c @@ -311,7 +311,8 @@ static int tps65090_charger_probe(struct if (irq != -ENXIO) { ret = devm_request_threaded_irq(&pdev->dev, irq, NULL, - tps65090_charger_isr, 0, "tps65090-charger", cdata); + tps65090_charger_isr, IRQF_ONESHOT, + "tps65090-charger", cdata); if (ret) { dev_err(cdata->dev, "Unable to register irq %d err %d\n", irq, julia