Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1004441pxk; Fri, 18 Sep 2020 00:51:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMW6ZLd36eHB8fyguH+3USzIznyA35NBbKeweZAJqU5vPNNAYfTsfksYlBDg3VXzQF8AoT X-Received: by 2002:a17:906:71cc:: with SMTP id i12mr34343018ejk.507.1600415518073; Fri, 18 Sep 2020 00:51:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600415518; cv=none; d=google.com; s=arc-20160816; b=nbVQiXGqTmNZuw8kBNOcjozyqskw56FgyTeZTSR+R8CeM+l0X9TUsTc0TF+ofGm9yH R2R4tKLgPCq+FGFIfVMjze1YOh05Zzb7xuVDz7QnKTBOYdET2ycoshEFGq0d7+penesF jjqNDn5EdauwXpYxwaB12Rk6aiudUwlvp2vDamEjPrLyN/uMc7Wrc2/1p1zKbiD2amSk ZJjCuzjn/wKmE3ndGvgGw0hqYi2YLvEmbU+QjD1DVuVaP7SYIBgSln8o32Yqm6GLs9yd tM0HS1/hd/ANuGRhoiwzg5Yd+9BANC328907VbynqrPWXFgwxahah0aD3dMFF3yVvL2a 0SFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=48RoyNXmsLpaC0iXfOuhYtBikYZoSGrszshradaq7QM=; b=N14jc7+OERfyEYlBkxEFoja7WM56kt77NQUzU4woGpXxQTuiqix4+seiJLr9qKIGp6 Ynayf9j9h7sq6Vm1mxxE1sKK1NIfyvISYogFwqGGasb4rjdMAa5zRTPKoV4Y162hjU9b RS5hQqo4k5D1LZEF6MFDl9lo2tNRz+pWm5uk46wRnUUb0g9/stzHNF75WVGCdergxvhj 04msc8ktMH1xn2kszNB0k0yHSGmy2pG4aXVswZprupqzt2Uh7z2/zw3nv5FaggPuMFX4 njRleaVy2lQr1m8uVrHyGp+5wXLVg8dI+Tx47Uv+PAAfB9Q0Mh34+NqCYXqXxScpCBrI mWRw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w12si1714633edi.441.2020.09.18.00.51.35; Fri, 18 Sep 2020 00:51:58 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726792AbgIRHse (ORCPT + 99 others); Fri, 18 Sep 2020 03:48:34 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:57902 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726783AbgIRHse (ORCPT ); Fri, 18 Sep 2020 03:48:34 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id A4E5BD61ED163A452908; Fri, 18 Sep 2020 15:48:32 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Fri, 18 Sep 2020 15:48:22 +0800 From: Xiaofei Tan To: , , , CC: , Xiaofei Tan Subject: [PATCH] vt: fix some doc warnings in vt.c Date: Fri, 18 Sep 2020 15:47:05 +0800 Message-ID: <1600415225-17736-1-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix following warnings caused by mismatch bewteen function parameters and comments. drivers/tty/vt/vt.c:3994: warning: Function parameter or member 'vc' not described in 'con_debug_enter' drivers/tty/vt/vt.c:3994: warning: Excess function parameter 'sw' description in 'con_debug_enter' drivers/tty/vt/vt.c:4051: warning: Excess function parameter 'sw' description in 'con_debug_leave' Signed-off-by: Xiaofei Tan --- drivers/tty/vt/vt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index 19cd4a4..1e9a6b6 100644 --- a/drivers/tty/vt/vt.c +++ b/drivers/tty/vt/vt.c @@ -1180,7 +1180,6 @@ static inline int resize_screen(struct vc_data *vc, int width, int height, /** * vc_do_resize - resizing method for the tty * @tty: tty being resized - * @real_tty: real tty (different to tty if a pty/tty pair) * @vc: virtual console private data * @cols: columns * @lines: lines @@ -3980,7 +3979,7 @@ EXPORT_SYMBOL(con_is_visible); /** * con_debug_enter - prepare the console for the kernel debugger - * @sw: console driver + * @vc: virtual console * * Called when the console is taken over by the kernel debugger, this * function needs to save the current console state, then put the console @@ -4038,7 +4037,6 @@ EXPORT_SYMBOL_GPL(con_debug_enter); /** * con_debug_leave - restore console state - * @sw: console driver * * Restore the console state to what it was before the kernel debugger * was invoked. -- 2.8.1