From patchwork Tue Jun 30 13:51:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11634139 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 EDB01138C for ; Tue, 30 Jun 2020 14:03:43 +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 B2FD1206BE for ; Tue, 30 Jun 2020 14:03:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rxRA6sPX"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bzdyYWsf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B2FD1206BE 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=XIiyOmsC7lUimBl7Z8qs0IfVC+Q6RP0lPM01334fSBw=; b=rxRA6sPXthrBqYOA7/jOj8HKB drWGKXP3fJeeVROjKgXYLbq6GVtxMGapvxJbsHJCLQFLlnShnJid8EuJu5QsBeRXmwa0SvIwdIqr6 TFBqga/wmZqzwUM0kUyh69p80BYpMkGUqpKUxCjZ9edpWpcYWveGgUKMzbq1OJZIezd1dC6bokFzq daoyNjAf0+7oIFHlQZyAvcaSyddSnDCa9+5YHXfPTwqU6UuGWQn0fb7RLO+X2AYKOfN4xL5wPtJQy uK4wC2+arRSH/Kxv8zfjpnJkND6CKwP6x8DeTDVvI11vEdRpABIqcqsb4Bbo8j3uQNAT6NRhx+RZX gvP8u6a0g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqGoV-00067t-LK; Tue, 30 Jun 2020 14:00:43 +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-0001K1-0v for linux-arm-kernel@lists.infradead.org; Tue, 30 Jun 2020 13:51:47 +0000 Received: by mail-wm1-x343.google.com with SMTP id j18so18900791wmi.3 for ; Tue, 30 Jun 2020 06:51:45 -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=DSh3DJM1KgVnqn7Sv/MtEFwOqhHf99gGKru6VjHaA6Q=; b=bzdyYWsfGs9+EldNffhY0jZ/Xs/sS8GuliDUstrvPp9uYq6bQ/V5+lA5ZwfBeDmWm/ i8m0UsGubprm9i/yZvA4l4TgVUivXrQfprf8t059FkPOjiDcVyjmQj8nOvJOixgrjgpL FgH1DuWJLz1B7oW2UybhBcX1rRi30VWbI7HNOqyD8U3YHbd/OvtJJjaqHU16CPtbGbve G+Ixv8V2cY2+TJvAIDBBSQPtk37vfanmlq7o41evKhr+kwCbKrEhwKj01jrnZTx6sWMx wSWW5htUaAUZrogFsTAnp32Egcjm7dxxxbBN/B1F4FDgSK+guhmaftONIhiv02gc+XuP svnQ== 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=DSh3DJM1KgVnqn7Sv/MtEFwOqhHf99gGKru6VjHaA6Q=; b=dmrSqArIiYo99mPgCfDvMXDQhX7eQr+WyPzP1D0ew1675+7T9JoPpLUe4Tw7gCATsx RikkMcP34r+ldylVOjMJiqJbC96uMliJgELMRjFQyiQsiDP0mQxxqSFmqVMs0PoQqDyW 61R7BFM2tYox4qg8qjiCl22UzBjzAjL1ZxFNn95+m8Ipgf7uSmWYt5t9JBoaTgiKL9eS yXVT8I14MOHtxuj3rNTqy21y/houtqyyFU63DjMkHFrow6Y1t965bxsJjPNkn2BoEMCr z1x9axp6qXtxoVnQ7T/cp2xcqsNzhjw0j0/TOoWiEeia2+Vn+biGBZQq0NdX7Mm544JM Urrg== X-Gm-Message-State: AOAM531Qf7ApCFZMojVv/cjF3iUXZtLsn6Epgr/x3n7bSq+cGG/7h/WB m/G4hxj5HWqWsBbLB8LO0tCBDQ== X-Google-Smtp-Source: ABdhPJydVK1MOk6qSoAzDSES+irwf5HdKi8xQQKwPP2tVuZl3KYPm79LNmnKWydLfpyDyImm9KJShQ== X-Received: by 2002:a7b:c7c2:: with SMTP id z2mr21460539wmk.39.1593525104998; Tue, 30 Jun 2020 06:51:44 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id t4sm3876746wmf.4.2020.06.30.06.51.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 06:51:44 -0700 (PDT) From: Lee Jones To: arnd@arndb.de, gregkh@linuxfoundation.org Subject: [PATCH 29/30] misc: ibmvmc: Repair ill-named function argument descriptions Date: Tue, 30 Jun 2020 14:51:09 +0100 Message-Id: <20200630135110.2236389-30-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: Steven Royer , Dave Engebretsen , linux-kernel@vger.kernel.org, Adam Reznechek , "Bryant G. Ly" , Lee Jones , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Formatting is correct and descriptions are all present, but some of the argument names are not properly represented in the documentation. Fixes the following W=1 build warnings: drivers/misc/ibmvmc.c:780: warning: Function parameter or member 'msg_len' not described in 'ibmvmc_send_msg' drivers/misc/ibmvmc.c:780: warning: Excess function parameter 'msg_length' description in 'ibmvmc_send_msg' drivers/misc/ibmvmc.c:1041: warning: Function parameter or member 'buffer' not described in 'ibmvmc_write' drivers/misc/ibmvmc.c:1041: warning: Excess function parameter 'buf' description in 'ibmvmc_write' drivers/misc/ibmvmc.c:1360: warning: Function parameter or member 'file' not described in 'ibmvmc_ioctl' drivers/misc/ibmvmc.c:1360: warning: Excess function parameter 'session' description in 'ibmvmc_ioctl' Cc: Steven Royer Cc: Adam Reznechek Cc: "Bryant G. Ly" Cc: Dave Engebretsen Signed-off-by: Lee Jones --- drivers/misc/ibmvmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/misc/ibmvmc.c b/drivers/misc/ibmvmc.c index 2ed23c99f59fd..c0d139c265055 100644 --- a/drivers/misc/ibmvmc.c +++ b/drivers/misc/ibmvmc.c @@ -760,7 +760,7 @@ static int ibmvmc_send_rem_buffer_resp(struct crq_server_adapter *adapter, * @adapter: crq_server_adapter struct * @buffer: ibmvmc_buffer struct * @hmc: ibmvmc_hmc struct - * @msg_length: message length field + * @msg_len: message length field * * This command is sent between the management partition and the hypervisor * in order to signal the arrival of an HMC protocol message. The command @@ -1028,7 +1028,7 @@ static unsigned int ibmvmc_poll(struct file *file, poll_table *wait) * ibmvmc_write - Write * * @file: file struct - * @buf: Character buffer + * @buffer: Character buffer * @count: Count field * @ppos: Offset * @@ -1347,7 +1347,7 @@ static long ibmvmc_ioctl_requestvmc(struct ibmvmc_file_session *session, /** * ibmvmc_ioctl - IOCTL * - * @session: ibmvmc_file_session struct + * @file: file information * @cmd: cmd field * @arg: Argument field *