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: 11665223 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D493D618 for ; Wed, 15 Jul 2020 12:35:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BC8FD20720 for ; Wed, 15 Jul 2020 12:35:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Ve1r7nGP" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730910AbgGOMf6 (ORCPT ); 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-Google-Smtp-Source: ABdhPJyIP3kH3V8I1GPMPgN/hVOqqIuII4i5MJ7c685HCY4SeeX7azeY70/maT4T0v/n6YAAHo90+w== 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(-) 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)