From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A122403E89 for ; Mon, 3 Aug 2026 11:43:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785757425; cv=none; b=iLTT+TJbVcG/TL3pefr90UlIL+rJgmj1FAkzdfTzBoglgjrxWMjou2Hp2iL12MvlXR/hnLYhRyBJ87ozCTI2i363wAPKIZnUOLyxaOJeWVe1xTYeAK6KjQyN12SScVNAkSuQ+lxUCrbrNW9taDv1F/nFVGedoxZ1cPBKpZHJgEY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785757425; c=relaxed/simple; bh=lHZscjtvzZCsfdf5GgOgS/+EUWdCPyEeqt7aj7+aBCE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KajHPjEfpPw5WMUtK0kw6FGnVQ630D0Z+b4lPfbWAFRb5keBkMvYl9jFvuT6iQcI4M24/0JtiOWu98z2JqmK5EKGRhLNVRWjzw6mjPwtzOzFwKS59pgf46k1PXuS6hM3oodTaAzvBm4JNPP2ugwGnbuwSoDE4bKSWAUoRb9a8Rk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=HzlwlOBl; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=b9kHkezb; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="HzlwlOBl"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="b9kHkezb" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 673AemHK4015797 for ; Mon, 3 Aug 2026 11:43:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=5CTAr045jKy zaBrP/rYtUtr0ILnc5SpLs/Qa80fjum4=; b=HzlwlOBlOd52N7k7XYEXlYZ+7+7 /klaQ9LiMetfL0xu33pyysjTL5PT4BoX6nmKxNGFVI8KM3jp7JWlNAQDJF4YkIjz daDVQYpObe5yUxsP1BSa58QzUCszYDGR7c6+nHj4EiCq065BWjZXW4P5SMYNqTt6 kQF/vu9G6Gl4S2dowYHqL1HG2VXXp1z9Jl+bRi30oZC5s9tsUHHWzF+hraTqSPsj KBC7GgJuz6/i7ePbNwOHgUPkf61L0d29ZctfF2SKMP237g7pdmaUafebTbgwtzQe ckHLVv3Oj2fWXVDmvViXeVvVzsxeTfJ3QcwWSocFqwY8i730RwG3QISYCMA== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ftnrt9b6g-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 03 Aug 2026 11:43:42 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2cc7e86e7c5so64876695ad.3 for ; Mon, 03 Aug 2026 04:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1785757422; x=1786362222; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=5CTAr045jKyzaBrP/rYtUtr0ILnc5SpLs/Qa80fjum4=; b=b9kHkezb2Mzmbju+5lODPvEtlgjsG4PoXkrRy+cV6550150/6P8vmmutf8ZGxaIYab aEAylNMF5k21GGjIBileiaKvnJeT9tPCR6GqIw2jkFQlTIUFBSOA2WBBSWx1UFilf2iH sGqZZoi5r+6D7t5sQW7v1MOEuLpk1wvT0DrvyrUVjhxiarYeITtai7JCKIZDNwJ3k6e6 /WNEg5aQkknGeB8fVLz/1tXUu3t8wMFD3mtGbV8Yv22lOsyyBmsB6HFe1uZw5uk48Pv/ JPVpXt2A+WDsf41KxSzPyz/hB8iM1FnWhvXl3JWeuaHFHHsjpMNzej1Dn0BjV0Opzf1E 2gcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785757422; x=1786362222; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=5CTAr045jKyzaBrP/rYtUtr0ILnc5SpLs/Qa80fjum4=; b=V9Rgb80K7QijvKW2HnAK/SyFNZHIyitdbf2r2/mlMU+0rXU86tRnVE6qS3CM3I03yB y8AtRHCws+fYc1kV4KS/FeTGLvh+l8EMQBFuQvmJJ6Xyk+AGj5G75ds4dlQh6ENQnGcA l23JzWGh1I9KBp+/5PbE3Kln5+/xRMl9AGpksh6WNnDEf4eacWNlj2jMSBuHePAq1mdS 1yuw5dCS8MDGxCx/7C1DjvT+Vfi46CFfbX8TK3/c19AKD/Y4ezBpChbTTdwUzFtj8Kci FGPvTyw92Rik5U6qIS/cKsPYFXaEmGBjP+me72kPB4sDcOGKBJh7xqw0DFhV7peIEgom jjfQ== X-Gm-Message-State: AOJu0YwbBoqzs1JlBeKZE0VxMFWPsq+VyPUadvyiUt6/+lx5L4F3+E64 KwvVfrQ6VeN4zYQhslH7W+86vnFSMu8OnhJNXxUjMRl3dQobj0Pp+3B/2WRHSWwLsKSt4ISHZeL pHmHpg9ITRfUTlVdAcyXHEb5105MuSN0V+g1WZF2hGX8lXSOO+YGXCoAkIm9icXGa85c= X-Gm-Gg: AR+sD10a3gz2Xw4x3/Y1JcyDqG5bjFllSKqGOOZJkhgbdydpvC73vwMoYYyEPDmqxaD eu9J78zY7SzucRB8PDWmpCVQAT+Q+OmyIkPFGu3xNcmcUCU25i7TGYDAsV4vsO3hu2bvXjbxOw4 1vPKBmW+6ng9hF0cGPPXcZrWuKo4tPxthvnA1usZOmphFI1ivd0tOY76bKMTHmgJMTWA3JgynCL r+4sbgUkwtc4sR+Q3Z+I+atthwzn7XWC1oiwk1j54ned6hxPdkJRr4df9E7U0nXK8sW6XxPI748 XC5m3CEsuNyYpfo4BVpwti/iSRIsTiC+MkXB7uXk88HvSF/H9gv9+m/qQ8RK7g41ibkQe5ZEk1k b/WtlTC4DqqH19lBNHVNOuYzA1xE= X-Received: by 2002:a17:902:f78e:b0:2cc:98b4:e7d7 with SMTP id d9443c01a7336-2d052413674mr91661615ad.45.1785757421845; Mon, 03 Aug 2026 04:43:41 -0700 (PDT) X-Received: by 2002:a17:902:f78e:b0:2cc:98b4:e7d7 with SMTP id d9443c01a7336-2d052413674mr91661345ad.45.1785757421391; Mon, 03 Aug 2026 04:43:41 -0700 (PDT) Received: from hu-mojha-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2d04b0ea83fsm37110735ad.45.2026.08.03.04.43.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2026 04:43:41 -0700 (PDT) From: Mukesh Ojha To: Bjorn Andersson , Mathieu Poirier Cc: linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, Mukesh Ojha Subject: [PATCH v3 2/5] remoteproc: fix coding style issues in remoteproc.h Date: Mon, 3 Aug 2026 17:13:28 +0530 Message-ID: <20260803114331.3277263-3-mukesh.ojha@oss.qualcomm.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260803114331.3277263-1-mukesh.ojha@oss.qualcomm.com> References: <20260803114331.3277263-1-mukesh.ojha@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODAzMDEwNSBTYWx0ZWRfX714Ln+H731k5 z55aJ8KzaGjiSobaVvWhNGV8Y5sphOY0j/2EoD0PEdik9qV+5yGSS6xZoGMLzZavxu6aLdqf3tZ +rVNFcC5BbOIMwM4KLJSuilHKYeVWFb3mESySqPmmkQMTybnPvAIX7aLi9/ZjiOBd13DDvVFhlp y5cR1bMszoW1DwM6+YKVLQLbO1QA36Wi9qXMF9XyODD2Rn4LBT8WLdVL7WUgLcBJndtBfJ5WMbB DcA01ZiK9RhhOYpb+RL8HmhpCNALhFBe4ZFKV8obtnu9gaDcjkwgp6bYO0tWxG/uGXJDU1pTaZO ph695MyL9Gtt8JkPn899jvv0kvzVFkbhEaFVR9S6MlzWTk1+p1lsPdH4jEOYvRxqIM4HGySUtzE dkPSAyWcreuQ477XLPgtDMy7ZJFNE4okyKXuaG7OOUmnQ1+Hdy2cr8wsnsZLYov6z4BXBAMg4f3 aZ0NZ562XH5/AZnIyew== X-Proofpoint-GUID: Lk_MMdRPEkYcPOXX0i97_F5yElxc7YDc X-Proofpoint-ORIG-GUID: Lk_MMdRPEkYcPOXX0i97_F5yElxc7YDc X-Proofpoint-Spam-Info: AW1haW4tMjYwODAzMDEwNSBTYWx0ZWRfXwB54d9v/DVot ajdVLa3bgBr6qrAu6GZAEs5wfb/tm3AdohDXcIiz7OD/J3vsylNZdk4zdsJOcj5Us6Z3Mkkx19z /Oohg7V9zJPE70NEV/Rmm5qyWZtT8+g= X-Authority-Analysis: v=2.4 cv=Ft81OWrq c=1 sm=1 tr=0 ts=6a707eee cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=EUspDBNiAAAA:8 a=PIGfwsdRRb5bziVgSkMA:9 a=324X-CrmTo6CU4MGRt3R:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-02_06,2026-07-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 adultscore=0 phishscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608030105 The function pointer declarations for find_loaded_rsc_table() and get_loaded_rsc_table() had their opening parenthesis at the end of the line. Move the first argument onto the same line as the opening parenthesis to fix the checkpatch warning. Also remove a spurious blank line after the opening brace in struct rproc_vdev. Signed-off-by: Mukesh Ojha --- include/linux/remoteproc.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h index ef711a5b1a7f..fe77436677f9 100644 --- a/include/linux/remoteproc.h +++ b/include/linux/remoteproc.h @@ -128,10 +128,10 @@ struct rproc_ops { int (*parse_fw)(struct rproc *rproc, const struct firmware *fw); int (*handle_rsc)(struct rproc *rproc, u32 rsc_type, void *rsc, int offset, int avail); - struct resource_table *(*find_loaded_rsc_table)( - struct rproc *rproc, const struct firmware *fw); - struct resource_table *(*get_loaded_rsc_table)( - struct rproc *rproc, size_t *size); + struct resource_table *(*find_loaded_rsc_table)(struct rproc *rproc, + const struct firmware *fw); + struct resource_table *(*get_loaded_rsc_table)(struct rproc *rproc, + size_t *size); int (*load)(struct rproc *rproc, const struct firmware *fw); int (*sanity_check)(struct rproc *rproc, const struct firmware *fw); u64 (*get_boot_addr)(struct rproc *rproc, const struct firmware *fw); @@ -382,7 +382,6 @@ struct rproc_vring { * @index: vdev position versus other vdev declared in resource table */ struct rproc_vdev { - struct rproc_subdev subdev; struct platform_device *pdev; -- 2.53.0