From patchwork Wed Jul 15 12:35:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235585 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp584123ilg; Wed, 15 Jul 2020 05:36:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPQ9SxxdZEpwZWufgOM0lkVn2Terh4YhRDZ4KkbQDiV3czxxz2ev+w1VfQI5yFLT/+STei X-Received: by 2002:a17:906:40d3:: with SMTP id a19mr9335544ejk.474.1594816560354; Wed, 15 Jul 2020 05:36:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594816560; cv=none; d=google.com; s=arc-20160816; b=BasO2ewTTPIha8HO9a554Hq9mZRFPJJIn/V7TIA+UcIqba/fHE0hG/P02h2GbrQz5u FMXdzz+9M2B/2QKvHYZBW+IdM1laaQkbrOfx6KP6KSxggG8rQPNiV+2MZ7OQFAKuJ8m6 3mf1iKOMH6ODjAB8chcOTLKUjLuCVfPNK8RSYIaXDJrwybqQH432tg6xS27GAFNKLQFT /vsbdapAusp+NNRUn+3B+DdBInf4bpWeHnQFn0m0idpb6MY9I3/ummlurHRSRQrUhL/s EgWxbhVJrKDxYqAbbGFpkWSD+i1QfkAz7UclUCol2B57Kz5QKAeD/Rx9MkyTCLL0EdXO HNrQ== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/nLZftJ21jew9/kEGtv8CWXpR9DUFRsrGq7tmpIdUY4=; b=easBkxbq7SW7if3KrGi/qV/1df12IAOWXllRF9tVPMi0lkQ7jjFAzLMC39sXIp9mwU dEoorZe7NaaLgK8rqlISvVnInGqfFvwuCEJm1f0qPEgOpvbaK4bFz0fOycZ/4CHmAbQI ua3wiJOOosS31Z8hp2bM7QUaOCxFyKQK5MMRFxWHl3M8QBRHC1n482Dn3u3+wdG1typN VsNQT0PM+Yo1+eFjAY46ahI9f27kgJPrfnAZpTeZwlGkSg6r5BX1HoxHLjtBEEja+MJT E6F3kVvoCN3Z+eyLg5KtyFdWtMsIpwGbV87nOvtPCQuqKdC7rR2bc/iuSc1NydBURfvC XLCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ve1r7nGP; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s25si1094985edw.533.2020.07.15.05.35.59; Wed, 15 Jul 2020 05:36:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ve1r7nGP; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1730910AbgGOMf6 (ORCPT + 15 others); Wed, 15 Jul 2020 08:35:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730651AbgGOMf5 (ORCPT ); Wed, 15 Jul 2020 08:35:57 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE2CEC08C5DB for ; Wed, 15 Jul 2020 05:35:56 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id z13so2497004wrw.5 for ; Wed, 15 Jul 2020 05:35:56 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=/nLZftJ21jew9/kEGtv8CWXpR9DUFRsrGq7tmpIdUY4=; b=Ve1r7nGPBBEiMYQVujZ7qg7mSbRSHFW4Ztrfzm2LPTx16M+82GP/RHVovoCQv0ol28 BFXXss9yjRYgkeNGUVe/USz+SAWMau2sdERTYjWb8ZjqLNY7GLhJp4TgFb8AljxCFrwi +P+m7mIDiJTpM0DaZ1yAx3H2cz3JpqN/NAxlZdETzweBJvzoaEvHnGhui7I0DkdZFMVk N88t0wop/ylDjgIoo4aWmk3rxUUM2bi5XGLyKEyCD6hZSSWa++1nQF+Noh6StvJwu36w WF6S7t8/lwJDeta1SsDLw2U71Ss0FlTVUGsZyReFZsHS9LnYfPmkiPQBZ/0T7yBX1M++ qKGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/nLZftJ21jew9/kEGtv8CWXpR9DUFRsrGq7tmpIdUY4=; b=qIaABmOhq5gCxbXZnQrvPnmV3ej5vAG+bWAEyd4Cvt9+o6nK5EPhBTWUSwC2rXXU1x WFeV4CAWcqnDNnP9ub1c1L1E0rylADcM9hSkA6Djq3BlnZsZ2AXXuxoQ1ymETJJ38tgX mNhU4sOoRTDu5173+52bc1OH98CL7EgRtle4GUbUaqhDUFqPl4o1K9Md/bvyM2SzNIhY DDMRLpSXp223eCRgamJ6QqnhPZhXo8OynRI1xMQHnt3LWxspr++tKjCpe2KuvLbv1LsM 9ZH2eZVzx8ou44A2j5UMxHgG6/JwnP0vBJAAR08a9twtcmI/8YbPnrB+ORbKOGcHvLHi Tvag== X-Gm-Message-State: AOAM5320uDqWD7tOpfdO2/6bl8+2KqxgdINs3lJ3rzUxg0E5ht3OSeMt s40S3c2V4J/dlq/WB3hVBUlVig== X-Received: by 2002:adf:ff90:: with SMTP id j16mr11024189wrr.364.1594816555336; Wed, 15 Jul 2020 05:35:55 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id h14sm3298985wrt.36.2020.07.15.05.35.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 05:35:54 -0700 (PDT) From: Lee Jones To: bjorn.andersson@linaro.org, ohad@wizery.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, Lee Jones , Andy Gross , linux-arm-msm@vger.kernel.org Subject: [PATCH 2/2] remoteproc: qcom_sysmon: Solve function header bitrot issues Date: Wed, 15 Jul 2020 13:35:51 +0100 Message-Id: <20200715123551.4011154-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715123551.4011154-1-lee.jones@linaro.org> References: <20200715123551.4011154-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Looks as though 'name' has now been moved into 'struct sysmod_event' which is passed in instead. However, the parameter descriptions were not updated at the same time. Let's do that now. Fixes the following W=1 kernel build warning(s): drivers/remoteproc/qcom_sysmon.c:78: warning: Function parameter or member 'event' not described in 'sysmon_send_event' drivers/remoteproc/qcom_sysmon.c:78: warning: Excess function parameter 'name' description in 'sysmon_send_event' drivers/remoteproc/qcom_sysmon.c:350: warning: Function parameter or member 'event' not described in 'ssctl_send_event' drivers/remoteproc/qcom_sysmon.c:350: warning: Excess function parameter 'name' description in 'ssctl_send_event' Cc: Andy Gross Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/remoteproc/qcom_sysmon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/drivers/remoteproc/qcom_sysmon.c b/drivers/remoteproc/qcom_sysmon.c index 8d8996d714f07..9eb2f6bccea63 100644 --- a/drivers/remoteproc/qcom_sysmon.c +++ b/drivers/remoteproc/qcom_sysmon.c @@ -71,7 +71,7 @@ static LIST_HEAD(sysmon_list); /** * sysmon_send_event() - send notification of other remote's SSR event * @sysmon: sysmon context - * @name: other remote's name + * @event: sysmon event context */ static void sysmon_send_event(struct qcom_sysmon *sysmon, const struct sysmon_event *event) @@ -343,7 +343,7 @@ static void ssctl_request_shutdown(struct qcom_sysmon *sysmon) /** * ssctl_send_event() - send notification of other remote's SSR event * @sysmon: sysmon context - * @name: other remote's name + * @event: sysmon event context */ static void ssctl_send_event(struct qcom_sysmon *sysmon, const struct sysmon_event *event)