Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp553671ybt; Fri, 26 Jun 2020 06:07:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxG7aTzqpUO/LVy7emS3hOHt7BlL3z7hxbPVe/FE5eiOPdVIvkejTAwiewbzI3KEG02sguC X-Received: by 2002:a50:d80f:: with SMTP id o15mr3345717edj.156.1593176865632; Fri, 26 Jun 2020 06:07:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593176865; cv=none; d=google.com; s=arc-20160816; b=xpH8eB4TbtN1LzMTFd+0f4EB9PwmqwKjW9OwSAEkn2NwHSQdg8mfhH0AhmJEtFy6eW xy0K2a4SAU+/KMfxKac4D35BsD5Gu32jZL6wnveFUifBPXy9Is+Y5Sezlo2IqnFikyJc 9nGxPKqafKKloMb34jnvbW+GCHzr1yjQEqvlZCf8QgLHRGDHOCAfjxPJhU/QOI0ykEb0 t7K6ulosqvWcdOlaGhfgf9rdrfbG3BdA4M+fVUHNWvwZUPSIhzlVIwmSF84scNq7JDjA 4cjxGCktUhnysqy7nRnNVka+nY17tovgk0SThmkE/KkVyo79pS0UIs+R4VIFD3XFFFsz 3N8g== 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=wgIF2Tzx4eGBueCHKg86n/uEbujpF9PDzYcT2/3mg20=; b=kGC5pzj+4QZ/AGMAiCU05f4uERyPd1HNXaJWKQoXd5rA6niTKglJn+xAIwmFIMs7lG TtuOvus0oEQm9zAKBUPmxDWO5m0gqVl2VsjaLdu+dPsEVhy2bYPyl6MusY2wMeWTGBvG lc0q8TudIia2si2PWmjRS73gUVZ6Z17Ww1R6ISA7dBRA/0Ydv7+vEImxjVhTZs3zHupk 4BYyh4eXYiT4mawDnNn+aIPO+2rRJu5xmPiJ7Bbi/UG/S9NlyjjJSzkEV6b96UayFyyM 0om149pE6rWW6WRAJX0ZmMpl+X1RzV4yDHjNFMxX1M+evtF6SlQ7zf9otXr2IXnouBeg yqpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IQ7ok0HF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i10si2203742edy.414.2020.06.26.06.07.19; Fri, 26 Jun 2020 06:07:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=IQ7ok0HF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728364AbgFZNGS (ORCPT + 99 others); Fri, 26 Jun 2020 09:06:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728143AbgFZNFm (ORCPT ); Fri, 26 Jun 2020 09:05:42 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F4C8C08C5DB for ; Fri, 26 Jun 2020 06:05:42 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id h15so9429520wrq.8 for ; Fri, 26 Jun 2020 06:05:42 -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=wgIF2Tzx4eGBueCHKg86n/uEbujpF9PDzYcT2/3mg20=; b=IQ7ok0HF4tKRxVuvEs17kkX6k+cf/VouH+TSqbBr+XLgYtS7BRaQowsbrDttWVuvPc E7AqbgsIs9MIqUKO4193FmdzsBWz8ZBRtnrfrFwXv9VjBGww9Xq9ha+/iMi7Njv3vtJl ICkZlU0pFyjugJPCj9LXhEoMytPjjDR0Uvwj8IV1ndWViuTfybwqOsxvx1WrTqd7cH06 W1TO2mrjQZ1h2pQ1vGmACWESyt5q4Me02Zj5yjlbJc3n6wF5P2WuR3SkSAlD79Lf+dBA O71OZrslrwEWGs3Nav792wgk1CsCAzUtRJrHod5wrFXh8JN0dvN8M4ZlrlAY5j30+AIp 125A== 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=wgIF2Tzx4eGBueCHKg86n/uEbujpF9PDzYcT2/3mg20=; b=AAKz1PPngXkg0eiGU9bBHeqxVxIAp62HhszbbMMxkxftcPvHtF3zd0VkIa7ml3rYS2 Hk9fKw+GuktPpK1Vm9uXLdi7WShNQ4h4AJ9EFNXHzS/GgMQfUwmFE47DEqD5mpMd4CWn THm3kauh0Brj0S3mWj+/hVmqd8tIdR4C2DRW2UUnKeEaU10IEpZGR5c1Y6KgWQqNUlry oX51VlO9O02nt4RlMx4Qg0SzGr876jyTM1WsKu6jH/I21NxyTGiW/FL4Uwhn/AI2NERa EZHk5zJ8KChTZsSrkH1nUa6Xzr0lsMA3GJJ7hwEa3EQVIxqGrUzaxa6hXSRLkhd6JgTt NunQ== X-Gm-Message-State: AOAM533A60R/zwRttYE8U/PehH+EGju0CWrrPiBTFrhDHPMiQ5RYzWm9 kh44ExLKIzXJAD4xUkD1IjUsLQ== X-Received: by 2002:adf:e884:: with SMTP id d4mr3582523wrm.176.1593176740964; Fri, 26 Jun 2020 06:05:40 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id u20sm16746904wmc.44.2020.06.26.06.05.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jun 2020 06:05:40 -0700 (PDT) From: Lee Jones To: arnd@arndb.de, gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones , J Freyensee Subject: [PATCH 10/10] misc: pti: Fix documentation for bit-rotted function pti_tty_driver_write() Date: Fri, 26 Jun 2020 14:05:25 +0100 Message-Id: <20200626130525.389469-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200626130525.389469-1-lee.jones@linaro.org> References: <20200626130525.389469-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The API has moved on since the original function header was authored. This changes brings the function's documentation back into line with reality, complete descriptions of the latest arguments to be used. Squashes the following W=1 kernel build warnings: drivers/misc/pti.c:510: warning: Function parameter or member 'tty' not described in 'pti_tty_driver_wr drivers/misc/pti.c:510: warning: Function parameter or member 'buf' not described in 'pti_tty_driver_wr drivers/misc/pti.c:510: warning: Excess function parameter 'filp' description in 'pti_tty_driver_write' drivers/misc/pti.c:510: warning: Excess function parameter 'data' description in 'pti_tty_driver_write' Cc: J Freyensee Signed-off-by: Lee Jones --- drivers/misc/pti.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/misc/pti.c b/drivers/misc/pti.c index b7f510676cd61..07e9da7918ebd 100644 --- a/drivers/misc/pti.c +++ b/drivers/misc/pti.c @@ -496,9 +496,8 @@ static void pti_tty_cleanup(struct tty_struct *tty) * pti_tty_driver_write()- Write trace debugging data through the char * interface to the PTI HW. Part of the misc device implementation. * - * @filp: Contains private data which is used to obtain - * master, channel write ID. - * @data: trace data to be written. + * @tty: tty struct containing pti information. + * @buf: trace data to be written. * @len: # of byte to write. * * Returns: -- 2.25.1