From patchwork Fri Dec 20 06:18:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ANANDU KRISHNAN E X-Patchwork-Id: 13916295 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2F102E77188 for ; Fri, 20 Dec 2024 06:19:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AFDB510E06F; Fri, 20 Dec 2024 06:19:18 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=quicinc.com header.i=@quicinc.com header.b="Cnd6c6/i"; dkim-atps=neutral Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id 07FC410E06F for ; Fri, 20 Dec 2024 06:19:16 +0000 (UTC) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BK5fAdZ005358; Fri, 20 Dec 2024 06:19:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-type:date:from:message-id:mime-version:subject:to; s= qcppdkim1; bh=Mo9PDt3CzHwASeGRBFRXc3hyEqQtgzED4o7msV0h/Os=; b=Cn d6c6/ipZCMGHGNaeHj42Ln/b6IxqHRPNYxJybk+NziQeC5vNEoaWNiB2ZiIVNv5B gJynl2CWupjEHWqJY0gkIVuPGErLvQ7/a0e8NL7cLylt/NN1hizTnYD5jBdnwWTs fdPmvb+TalqqON7smozG7yE78yMGOMdv73o2DnQMB6nfGj7cahnGxsePp9IzBt6W IQVsXxYMATl0BGyX34+HWYV4tiGB8ZxUeyr3Rcw4HUKf7agZXMCk41tw5iziHjDK fh4kIRZnTiPPrGtODX6pSKwZbUmyYigQcLcTNYTpc0/LVufqZ6dNf3qTQr84Xshc ZAW194cK/z5bfrFJLQMg== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 43n2n5r2ur-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Dec 2024 06:19:12 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4BK6JBsN026383 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Dec 2024 06:19:11 GMT Received: from hu-anane-hyd.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 19 Dec 2024 22:19:08 -0800 From: ANANDU KRISHNAN E To: , CC: , , , , , Subject: [PATCH v1 0/2] Improve error handling in fastrpc_rpmsg_probe Date: Fri, 20 Dec 2024 11:48:52 +0530 Message-ID: <20241220061854.24428-1-quic_anane@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: BJg1zgmglM9fM4J2AVWKGNGgSJdVq5k6 X-Proofpoint-GUID: BJg1zgmglM9fM4J2AVWKGNGgSJdVq5k6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 bulkscore=0 phishscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1011 mlxscore=0 mlxlogscore=587 adultscore=0 malwarescore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412200051 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Following changes are getting added as part of this patch series: - Add proper exit path label to handle deregister of device node properly in error scenarios. - Add meaningful labels for exit paths in fastrpc_rpmsg_probe function to make it intuitive. ANANDU KRISHNAN E (2): misc: fastrpc: Deregister device nodes properly in error scenarios misc: fastrpc: Add meaningful labels for exit paths drivers/misc/fastrpc.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)