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 6822D29ACCD for ; Fri, 24 Jul 2026 18:41:48 +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=1784918510; cv=none; b=P8hocLbLivGBR2bZxaZl1mYlHO+iTrQoBH3ZY7M8JY3LACN49SbD5v0LAor5VOSJWgrarMp0tZ/eJOHkllBMx9JIFYCQjK7VnSVMc89E4jk8I60bMi9ZWYah8kelb+gur3kOiF5q7CAHsuD+Nqg4P3AbP48AAMIKW+TeOkUaXs8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784918510; c=relaxed/simple; bh=c2slXN7ih0C1nIba+fTCtKxyVFVl+MumeVKpwrfQeg0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hT+GRzeXCXAULtnUjjFagSPj6CmzlO4S95WWrmbivkSyucPvbC1jieUJ4vJpT0oi8L6JBwrKHv32nmKrQX7wGCVFfJOMJGWnBgpIsNmUgWkiGfZOiV0CeshpuzIJEV0CMUJmodw4eK16oF+xTuyGZgJSoKuBUJdnzIlwtA7xnbM= 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=GyqDPaFl; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=YfQsKAyt; 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="GyqDPaFl"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="YfQsKAyt" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66OGr5GB3628780 for ; Fri, 24 Jul 2026 18:41:47 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=R8j+rbrLP4k LklFjyak7KxB2vRegoDdX9d/0n5LTXnU=; b=GyqDPaFlOhKN0iy63fSHRKgRDOD yO1UiRYEz53HPqNui9qu+TPwohOU+EDPbWAEpX3EiDlqvWi/UW57gWLDANIfmmpZ 1j7XTkDOOOFxrAgvYKnGcdfqPCb0ngQ5fuvxrQL+M+kUOYVw/BK7gKo0y7E0d5zV q5tIqyT9EzSkDt+HXImhrvQ3xpiumlYot9R/qzPRLZg3xYiUx7FfGyf/AhLLAZFt iklCA+1PL7xvEPik8e9whZG31BdahiuoHLMSUgiKzQ5kz3TBrMWtDie9k/1Se1nu 9J9/zPG0QGZQlgZOYi2WGfArL7Xj8QwA1Tp4cqyFIDKm0BEOXe2ZNpN/DOA== Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fm5yahuu4-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 24 Jul 2026 18:41:46 +0000 (GMT) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-38e2f61c09dso911687a91.2 for ; Fri, 24 Jul 2026 11:41:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1784918506; x=1785523306; 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=R8j+rbrLP4kLklFjyak7KxB2vRegoDdX9d/0n5LTXnU=; b=YfQsKAytPHfriIGgmEdrGM6/QDyM/Yqcdpht/QgskjhpHB3Du1RY4y1P6Va/ODlmZ4 4ZE1J8iZkY8/4SYCGcUgy3ji80ztB4BX2wNO/7BqYXJpytAUihvWm3S2Zn6gSYQ9uUx3 xChHcY4YOozJARNs5YIk/obHe5P+Y1CKNdXobcw5mUvbc+5371PBhEp/YIIJ1p5u+wqR aI7cWUcX8dODRTKIZzSA8LHWTiB/jldBaxPe+zbZBXbg8mxNMFpsvuaSQP5FO5/tuHHF oD72AXL0FXQejNEiMw3P0wnuDWm1DKSr1aauDRogbPzhBStwSUJt7wmwzntmdgcMOeT3 iZhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784918506; x=1785523306; 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=R8j+rbrLP4kLklFjyak7KxB2vRegoDdX9d/0n5LTXnU=; b=aFvr/U16v6KicH+oU8MVvPGzHAimZt6wEutpf0ct8k2S6OPF5DR3W/8tqKGXTC3YAB Y5OdL5NJLIrHCy/Io1G6Tl1kICS9T51qH6y4o/K81X8vkHaWJGtIXfrBHaCaG9beSQ/1 qLS4jXxDdLb0OMzJwsZQGp1XnPDg2pqMs2ii55O8bXP8fi/L4chHsD9SL5Pz2ha3Z7H2 rFX1qayaJjwlE0DYoYsB3yqqDxbc6WGg7BkQpyihaTbzppQ5Q+rDOimtUL98mh6ru6mp r9vaR+iLbYLni+lYNzhFAGboQq+S72K3ibtuoC4Nuxb6IPgiK3S+LR+txn6tEiqkwtkl O1+w== X-Gm-Message-State: AOJu0Yz+FWH6VZcUZCyNrXyEHun7xawPJ1nNeLfPMM1XQqtSD3BLyKhj ZxGFAB4P+7O5aTqfWsoAxj/UyX/6Tr7MgHeJk1a3JVjcNpH6rKkkFH7vQM9Ethw8+1SoTVnu59r ziZLocfCybFLmMpE4jpxjlVwd4XhQCIN99uI3nHeh4g9aFtviBWu5Q7luvPRjyqzviU9BQz80i1 k= X-Gm-Gg: AR+sD12topf9axX7MJC5AvQfiOm9n9LFG/OPAokexwn6OaQEA7gp15X9V5o+Q4QdpBE ztPGgqr0q8u+WiHcFoeKS12vWoae1ute+ajx1mtKEoVngK1pPzZU8k2+U/m6X6wvK+Gm6Ve4DRc HTBXap7fI7WZQgbuN3lNirryEi+bsthZjgWrDPAXS2oA2sedbYn7JcAXxjTFAUjj8Vz8QyksIdy zrOcxXzSHxMmRH7+hcA/k7geSIMNszd3X9yim/y2MGeXKYjGp/CXq9aYlX7iKeaOes2sdSeH1ES bsl2ZwPu7e3Oa9PIt4fs67EKBfnjtTRpHzOTcor3hDjs6IfSbXLdsWqJY5c1I5rwJp/v4v9ZnRs 8Lgx0dSZ+v9J0fOdjnDlKre0G0bw= X-Received: by 2002:a17:90b:28cc:b0:38e:4cb:51f with SMTP id 98e67ed59e1d1-38ec6501601mr8759508a91.11.1784918505708; Fri, 24 Jul 2026 11:41:45 -0700 (PDT) X-Received: by 2002:a17:90b:28cc:b0:38e:4cb:51f with SMTP id 98e67ed59e1d1-38ec6501601mr8759477a91.11.1784918504933; Fri, 24 Jul 2026 11:41:44 -0700 (PDT) Received: from hu-mojha-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-314bc5cb670sm2222283eec.31.2026.07.24.11.41.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2026 11:41:44 -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 v2 2/5] remoteproc: fix coding style issues in remoteproc.h Date: Sat, 25 Jul 2026 00:11:29 +0530 Message-ID: <20260724184132.1878077-3-mukesh.ojha@oss.qualcomm.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260724184132.1878077-1-mukesh.ojha@oss.qualcomm.com> References: <20260724184132.1878077-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-Info: AW1haW4tMjYwNzI0MDE2OCBTYWx0ZWRfX9s2YDcbtRHBs X8XlwNUEr4XsIhl6jeJl8yfABfXISzQM8cVkscVzxQjJFnjiQg8bo6nooUAUe/34rrZxWo/MQ1O iaO1lnF3i9DHYDpUAR994ppJ2spHqak= X-Authority-Analysis: v=2.4 cv=Rtz16imK c=1 sm=1 tr=0 ts=6a63b1ea cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=EUspDBNiAAAA:8 a=PIGfwsdRRb5bziVgSkMA:9 a=iS9zxrgQBfv6-_F4QbHw:22 X-Proofpoint-GUID: 0YdcNIfG9tAo0xLBZVpVVx-BUlZNRHjH X-Proofpoint-ORIG-GUID: 0YdcNIfG9tAo0xLBZVpVVx-BUlZNRHjH X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzI0MDE2OCBTYWx0ZWRfX9yHC3rfZPSzY SzFI+vuspZ92u+Vcc/dak7xa/PNlUTYgl2B2bkE2QsKCisg9MM/SyQCj0zEpMRo8QJR5Kcu1HQQ CxRh7yayJ19sZWcD0xq++GuiGDITFHXa3mpYkUEWKobrBQaCeHvlVXu/dKU4f24HK+yXy4emrlR 9ssEkL0d0SpjTL3lX3xsAh/zwoiHV9aZHuWOI0A4NPgG1Rkt5j1ys8Zn+V7AfZPQ9rh35xDd13V SL25+ZEGRB61iHVQigh3QmX2eK+wwjBRAubKkOiQw3gpdYFktErzPhR720A/2VPP7zbAvaB5Lg2 YnYWNIC2GQTvr/uz498Uf5j36joFEdxrDtNbYnWd8kaK/zqWRI5esXqTh3Q5RebX8xbcwJCVW1n fxiZM4agh42Rcyy8pJZ7VuWfOqSyq2bQ309UrgJ2hLaXhztyU3J+D4wHb1Y83LqGq97UmxhmxZW 19jBC+V1QR0GSBpOlmw== 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-07-24_04,2026-07-24_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 phishscore=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 bulkscore=0 spamscore=0 malwarescore=0 clxscore=1015 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607240168 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 17ed75a11e15..9cd0708d5ac9 100644 --- a/include/linux/remoteproc.h +++ b/include/linux/remoteproc.h @@ -127,10 +127,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); @@ -379,7 +379,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