Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1295178iob; Thu, 19 May 2022 03:45:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaX60X0ag6vNjoLK+lMfg28MPF35PEuoyWEW4zlxduqgWAwA9Cov3KZ7rSyrhd+c7/DKDJ X-Received: by 2002:a17:907:1c25:b0:6f4:2d46:52ce with SMTP id nc37-20020a1709071c2500b006f42d4652cemr3616790ejc.25.1652957111410; Thu, 19 May 2022 03:45:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652957111; cv=none; d=google.com; s=arc-20160816; b=pFf0FktWHZ49xZsozA4dvy52ihKoZ3s9Kmrfl7xXcD0SJNLwO7FkeSPD+8wvoqjFnO 1pSSNyuuTcQ0VYG0Q6mx0kGWRtmbYaKavnfrXbN44AdCDu6aQzYLJO0RfDhXw1qNhDVY 0n2QClgl3CS0h7LNS/2v++IWuVzcxrzfoLsD5eY//dx+6JOUdBoi+NsD7Zphare7csUd klIfYLHPTS8fqYraC+j1ZmwRg0q8heutcSvpiP1qQiRR3nlRHvpVDdUEM0CCHJ37EAOI pPeE6svrjmQdEluFSq6zScS0IvH5sCnfyhLHjiQo3j0egTFmJCSLmcJe3DDPVgUmBeFe hpiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Ld3tNTOnejY2gRdAkG0gU54wZRhtwNMujkvL4qvMwkI=; b=qkm9lz+wRqrapoaRjZDle8MUITG7HQ5GmiF6nU1JRhqiBkdQtJ94T3rb5ZsP9QPLOM hzz4QbIHAjX3B96JoKj6uuQXwRpQuUW04NSvIxbV/HvvRn3Ng+2wfACNRDhe0DHmS5Jd Clk/3ddwZwQ4I9up0aPBC3NA0bSwKpRQ7Uj2g5vfRzI+BtnlKpB8vz2oraviQIEXp6Lu MVSLsxvddh5DYMmjlZakKZ+Fve3IG8HGA/wnk94hpwTVhmZGyuconObkZGMynPXiXqwC Zo17hHuRyKi5L2Vfcw5FUqX8ooQLktgCfdzBHDpMPQ8Jdp1FJG91dIJN9m7ss4WFtPYs 8SLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uVhNzYLo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ji10-20020a170907980a00b006f3a3c628c8si5386432ejc.781.2022.05.19.03.44.45; Thu, 19 May 2022 03:45:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uVhNzYLo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234705AbiESHeV (ORCPT + 99 others); Thu, 19 May 2022 03:34:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233587AbiESHeQ (ORCPT ); Thu, 19 May 2022 03:34:16 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C8CA939DC for ; Thu, 19 May 2022 00:34:15 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id e4so4654842ljb.13 for ; Thu, 19 May 2022 00:34:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ld3tNTOnejY2gRdAkG0gU54wZRhtwNMujkvL4qvMwkI=; b=uVhNzYLoSIE1Q9t8tJmJL12I3Cm4x9BG9luOeDhB9VLhFK3mkwvFc/z3CCe11suOux Wb0u8LQNWoPbikl+QQONfDCMn+bgq0BmOUOnVR913Wxgo2uHIbvbr+KJ5SvvMXlJYECH 63eCCRaz9p1pkEqEGE7LuT9op0BVY5/5A6kXtFz9qVwMM0x+i4Msz/avddlxOKmbHPNW 7Q7WIbHY6F3EsYL3KaBriWyFmHL3t9XEfHC+m8cpHgPvB6PV0q28i1gJYaQ5pCvFLwiB NPxC+pWdqHVlJoAvxwV8eG2TreRRIV8bIOgEf3sOo0Zk5yEsZZkXgBN7B+sPvShPpWXO lMaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ld3tNTOnejY2gRdAkG0gU54wZRhtwNMujkvL4qvMwkI=; b=SWxP/x7hRfHwN+OPbLTxVheQP79u2a9q2rQjcdB462zwV93iZO6y0Y36IsunMPn/Gy 8dB+dQPT5UPzt5yYf80ndEEelqfUxdUtZnp1bmUj6VrcVuYz5wFarsYwp1IXGaL4x4cF JUl8zwIKIBHWPLbYC2wpRTnQ33v1rZ/LuV2b59mbfXPsJZZLEuZmUIvp0XJ2vbmvQuW6 dUdTf2V7nUVcGEgwGpxHOeViTOgv62ZA+KnwRJZtntXfBoepTwxDlI6FgN1CKrVP2V4g DPkfowGPMzbRTAgLmhj6jVCffcALNqUzqoPbbsZjecm0biA4glt39xZtfKqDCJsjbZiK o1JA== X-Gm-Message-State: AOAM532Tqqb1b8PASCh+7ltBzwzkpsQcarAP88YTlVvS2CE1qbs0e4dr OIxSK8AuzHSh4XLds4iqIojkLQ== X-Received: by 2002:a05:651c:399:b0:24f:18d:5bbd with SMTP id e25-20020a05651c039900b0024f018d5bbdmr1824315ljp.481.1652945653930; Thu, 19 May 2022 00:34:13 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id w8-20020ac24428000000b0047255d2113csm187708lfl.107.2022.05.19.00.34.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 May 2022 00:34:13 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Stephen Boyd , Krzysztof Kozlowski Subject: [PATCH v2] firmware: qcom_scm-legacy: correct kerneldoc Date: Thu, 19 May 2022 09:34:10 +0200 Message-Id: <20220519073410.7358-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Correct kerneldoc warnings like: drivers/firmware/qcom_scm-legacy.c:133: warning: Function parameter or member 'dev' not described in 'scm_legacy_call' Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Split series per subsystem. 2. Correct argument description (Stephen). --- drivers/firmware/qcom_scm-legacy.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/firmware/qcom_scm-legacy.c b/drivers/firmware/qcom_scm-legacy.c index 1829ba220576..9f918b9e6f8f 100644 --- a/drivers/firmware/qcom_scm-legacy.c +++ b/drivers/firmware/qcom_scm-legacy.c @@ -120,6 +120,9 @@ static void __scm_legacy_do(const struct arm_smccc_args *smc, /** * scm_legacy_call() - Sends a command to the SCM and waits for the command to * finish processing. + * @dev: device + * @desc: descriptor structure containing arguments and return values + * @res: results from SMC call * * A note on cache maintenance: * Note that any buffers that are expected to be accessed by the secure world @@ -211,6 +214,7 @@ int scm_legacy_call(struct device *dev, const struct qcom_scm_desc *desc, /** * scm_legacy_call_atomic() - Send an atomic SCM command with up to 5 arguments * and 3 return values + * @unused: device, legacy argument, not used, can be NULL * @desc: SCM call descriptor containing arguments * @res: SCM call return values * -- 2.32.0