From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752635AbbLZU3P (ORCPT ); Sat, 26 Dec 2015 15:29:15 -0500 Received: from mail-lb0-f170.google.com ([209.85.217.170]:34001 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751601AbbLZU3N (ORCPT ); Sat, 26 Dec 2015 15:29:13 -0500 Subject: Re: [PATCH] coccinelle: api: check for propagation of error from platform_get_irq To: Julia Lawall References: <1451157891-24881-1-git-send-email-Julia.Lawall@lip6.fr> <567EF188.7020203@cogentembedded.com> Cc: Gilles Muller , Nicolas Palix , Michal Marek , cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org From: Sergei Shtylyov Organization: Cogent Embedded Message-ID: <567EF895.6080702@cogentembedded.com> Date: Sat, 26 Dec 2015 23:29:09 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/26/2015 11:24 PM, Julia Lawall wrote: > The conclusion seems to be that it is useful to override the value, so we > can just drop this semantic patch. No! As I said, unconditionally overriding an error value breaks the deferred probing. It's actually a bug to override it, so the patch seems *very* useful. > julia MBR, Sergei