From patchwork Tue Jun 30 13:50:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11634033 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 DF9CF912 for ; Tue, 30 Jun 2020 13:53:30 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B674820829 for ; Tue, 30 Jun 2020 13:53:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZeGIsyn2"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="C3JufE1V" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B674820829 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3ITKEeb4RC5uJha7/NaMtlEg882d5kf3OsBGncrUDww=; b=ZeGIsyn2NJKlKTF7o4ZVv1Ut2 6j/zrHGpbkSrN28pLHo+I4Y+ebQwmd79h3yhkfxPFTolxDsEvAgZ7BhLIGprC6eEGumMKhMDQ34e0 WuzJ6L/mqtexYs4Rg6p5tf8Uzi0/MNVuWGfHeEiA3mU7NPjLNp9bCw+WYx3g5vTD4Gbbono47nlhT ysWn5g6PTEUEH6bMzrfvdTZi45BiK0mdsozl0g2R4JOFXlgqyzjJINaARz2jh0CBIa2g9tK4C9N/e o1Kf4QBd/gQhdD/QFapCFpRTRlNydwSUhsbn7wA1Mr2j6IJq6MwlMEof2y8qBEWp67hm8v6a1MHaU mzb+LAkFw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqGfy-0001MK-7K; Tue, 30 Jun 2020 13:51:54 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqGfQ-0001Bs-FM for linux-arm-kernel@lists.infradead.org; Tue, 30 Jun 2020 13:51:21 +0000 Received: by mail-wm1-x343.google.com with SMTP id w3so7222786wmi.4 for ; Tue, 30 Jun 2020 06:51:20 -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=zimOoN2kqyjp0StchByfx/9jGDhP6/dApme8q5aFBgg=; b=C3JufE1Vbw703iYTl6sZac2o77v/HxfiLUxfLsvV7rf63VdFwoY8pZRLVXzmFORdiP tnIsWGaURHCqIdQWcy2O/ujeJUPkWtg9KM2i50TVu04acdEVD6YhMrv63V596iYirxpW 8aPANMM6SZqICnuKyCCV1BBYzbEv2gRX4A9nxB384FenhAFSBg7YuXubRgcDV293nK3S JDEHR1xB0VkC3vFYwM1sIuI+Z8VdjtWiR2aqO1+IVoXiNDIEeFDObePM0b3ousVgsu2g aLM05GkJa08x2XJ/KUFghTV+6cdM78kxQUwHXmTO94P/5TAriG4BTtKSi7YRpni66COw uxHA== 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=zimOoN2kqyjp0StchByfx/9jGDhP6/dApme8q5aFBgg=; b=Oz58vOOXmtUOM88d68/syx/ThOTNjAHdqElN2SJwQCd3h0V2IWoqEPOvbMiJbh6YoB kzAfJIB0MBGHH2MIZM5XD6f8QbwzE277Dck4r3ZHxz7soMmIN8l6z1YMUhVcO/opPTtT P75Uk3P2walKXcr6SWsgbYBI+N/aq1mCeo1+nhQTBKbXZ6CJfFDuk63Xjd4qmMzseH+H 1flShMP90h+2Nh1/4k5ghVsKGQ7O6JCxczdxdo+uWsZRzFmBaObU1kSAjZgrGhIARMUA UsuBiooxSzk5CeYB5KWP/WgkSQJivsrsZcybazvORhhZuKReWpTE0yzOMRcXqmTASsJb FSFA== X-Gm-Message-State: AOAM533TYutCl0twsZ5G0CsIPKZJLYG1e1xmW2qSewFN3pcgw9wGZ+fm 2vxF3fYTBYpf2CwuYgGFvsepn9/1OpY= X-Google-Smtp-Source: ABdhPJztSC+qO8Bs60jiFpwOyAyS3D8NxgvpHTcxkBciCImutF2lsX+GPC6MWhWkOcraBY8wceqZLw== X-Received: by 2002:a1c:e209:: with SMTP id z9mr21891607wmg.153.1593525079340; Tue, 30 Jun 2020 06:51:19 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id t4sm3876746wmf.4.2020.06.30.06.51.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 06:51:18 -0700 (PDT) From: Lee Jones To: arnd@arndb.de, gregkh@linuxfoundation.org Subject: [PATCH 05/30] misc: ibmasm: event: Demote function headers from kerneldoc Date: Tue, 30 Jun 2020 14:50:45 +0100 Message-Id: <20200630135110.2236389-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200630135110.2236389-1-lee.jones@linaro.org> References: <20200630135110.2236389-1-lee.jones@linaro.org> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:343 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Max_Asb=C3=B6ck?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The correct format is not used and no attempt has been made to document the function arguments. Makes sense to just demote the header back down to a simple comment. Fixes the following W=1 warnings: drivers/misc/ibmasm/event.c:44: warning: Function parameter or member 'sp' not described in 'ibmasm_receive_event' drivers/misc/ibmasm/event.c:44: warning: Function parameter or member 'data' not described in 'ibmasm_receive_event' drivers/misc/ibmasm/event.c:44: warning: Function parameter or member 'data_size' not described in 'ibmasm_receive_event' drivers/misc/ibmasm/event.c:78: warning: Function parameter or member 'sp' not described in 'ibmasm_get_next_event' drivers/misc/ibmasm/event.c:78: warning: Function parameter or member 'reader' not described in 'ibmasm_get_next_event' Cc: "Max Asböck" Signed-off-by: Lee Jones --- drivers/misc/ibmasm/event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/ibmasm/event.c b/drivers/misc/ibmasm/event.c index 974d63f5a4dda..40ce75f8970c1 100644 --- a/drivers/misc/ibmasm/event.c +++ b/drivers/misc/ibmasm/event.c @@ -31,7 +31,7 @@ static void wake_up_event_readers(struct service_processor *sp) wake_up_interruptible(&reader->wait); } -/** +/* * receive_event * Called by the interrupt handler when a dot command of type sp_event is * received. @@ -68,7 +68,7 @@ static inline int event_available(struct event_buffer *b, struct event_reader *r return (r->next_serial_number < b->next_serial_number); } -/** +/* * get_next_event * Called by event readers (initiated from user space through the file * system).