Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1707639ybc; Wed, 13 Nov 2019 03:08:24 -0800 (PST) X-Google-Smtp-Source: APXvYqwf/kf2tpfR4iGxuGcFIDxr4Zy9mDKISSscjVwRU4qjz73EsMwH4RWg7jG4AJtpvaT2dV7R X-Received: by 2002:a17:906:234e:: with SMTP id m14mr2054434eja.94.1573643304137; Wed, 13 Nov 2019 03:08:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573643304; cv=none; d=google.com; s=arc-20160816; b=ZDk/FZPTB+yvZ59/Wh2tHdaMnCAwSbNjIWBZi3DA61oJ8xJnvBYXByRt8U24Taejt9 EFcWgqUpBFZdSV5NkaPJ79UmmGy+TQxwG2hs3zbcWYwaSUbxWvUvbOo9KXusVEw0h4J/ 3kGxoAlUkKZfEcdqCfScKq1e6sE7SQWP4OQMn0LafisIiqJqlK3pvy1nBqR7WOOAcwA5 1Qtb+YODKx2TGi9puu2gvCjzrtAIEAjU4AsAz//tk0Q4w6RcdKPXWG4/R13yJ7VB1faD a3eMB7zy0HQziuXIiHnl7bErBAxYngXR/av4iMRfE0oTdNimT/L57FChmO7TCwi2AV/T Ir/g== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=gSAJ+1KpkGy+Q87mlI/tRdXnYA0Fp4XtcaHY6UfujOc=; b=qZHtKSF1GU6J7KKnacKge47PSU0WygRwDCfXGcR0gZe0hEiMo25xjeJuqvI15Aadm7 IJJ9rHudmEj7Pc7Yz+R4yQxtFqxiKOsoIRPxpIKUQqwmhq3h+qAVLbfFLu+U+nViU39G 2DMRY78VUxFmnzFWoU5VpmRgM7pAej2uB2B185FNnxhEbbu8yfp6dXeN+JD+EX3B5uzk 9z9YqeoJRa7vHp1R3G2P+3xouIjTErxvOkWGUHBnlHqrXVf3U8sED7nrFZKG1bPdWfpB V51bIVM5F+voQM2uQDYYrsY1wC9i+BfBC9dQGt6kFZ+T4HOWdWjVdGo4gvEuUoRS0/DS ZHOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=X8HMahfV; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b28si1151804edn.230.2019.11.13.03.07.59; Wed, 13 Nov 2019 03:08:24 -0800 (PST) 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=@ti.com header.s=ti-com-17Q1 header.b=X8HMahfV; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727641AbfKMLGy (ORCPT + 99 others); Wed, 13 Nov 2019 06:06:54 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:51562 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726165AbfKMLGy (ORCPT ); Wed, 13 Nov 2019 06:06:54 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id xADB6XsH114264; Wed, 13 Nov 2019 05:06:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1573643193; bh=gSAJ+1KpkGy+Q87mlI/tRdXnYA0Fp4XtcaHY6UfujOc=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=X8HMahfV7qdJsgEfNTulOHlp4TJPpj8nc0CC/YuUcqC+GwSC256cdrxmxhENY2e04 61oz5VO/LASJhQ6t8VoztScF/KDh/y35LJ2aiXKQVOJyZT17XY2kNpp2lcswkz8cfF dRgCdPrCHiN/hq8y1ejhy1NM/P4Z2Pqh2ELfzubI= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xADB6Wu9096144 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 13 Nov 2019 05:06:32 -0600 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Wed, 13 Nov 2019 05:06:15 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Wed, 13 Nov 2019 05:06:15 -0600 Received: from [172.24.190.117] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id xADB6T5G127091; Wed, 13 Nov 2019 05:06:29 -0600 Subject: Re: [PATCH] irqchip/ti-sci-inta: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)) To: Marc Zyngier CC: Markus Elfring , , Jason Cooper , Nishanth Menon , Santosh Shilimkar , Tero Kristo , Thomas Gleixner , LKML , References: <776b7135-26af-df7d-c3a9-4339f7bf1f15@web.de> <670cd9a2-2083-bb5e-7bfc-58d5c90ec756@ti.com> <29a69991ec7726d133e54a2891159e86@www.loen.fr> From: Lokesh Vutla Message-ID: <3642882b-edab-1667-f370-47e8358edc82@ti.com> Date: Wed, 13 Nov 2019 16:35:34 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <29a69991ec7726d133e54a2891159e86@www.loen.fr> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/11/19 3:45 PM, Marc Zyngier wrote: > On 2019-11-11 04:45, Lokesh Vutla wrote: >> On 05/11/19 5:00 PM, Markus Elfring wrote: >>> From: Markus Elfring >>> Date: Tue, 5 Nov 2019 12:19:39 +0100 >>> >>> A coccicheck run provided information like the following. >>> >>> drivers/irqchip/irq-ti-sci-inta.c:250:9-16: WARNING: ERR_CAST can be used >>> with vint_desc. >>> >>> Generated by: scripts/coccinelle/api/err_cast.cocci >>> >>> Thus adjust the exception handling in one if branch. >>> >>> Fixes: 9f1463b86c13277d0bd88d5ee359577ef40f4da7 ("irqchip/ti-sci-inta: Add >>> support for Interrupt Aggregator driver") >> >> Fixes: 9f1463b86c13 ("irqchip/ti-sci-inta: Add support for Interrupt >> Aggregator driver") > > I fundamentally disagree with the "Fixes:" tag. This isn't a fix, > just a minor readability improvement. Flagging things as "Fixes:" > ends up triggering all kind of unnecessary backports to -stable. > >> With this: Fine with me. Please drop the fixes tag. Thanks and regards. Lokesh >> >> Reviewed-by: Lokesh Vutla > > I'll otherwise take this patch in -next. > > Thanks, > >         M.