Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp317858pxk; Wed, 23 Sep 2020 04:12:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhsb6fybzc692p56mbfkJ8twjmN8VSwf7Qn+CIneTOrtdBLOYjUgkB0Oc8Z233LLMqxex5 X-Received: by 2002:a17:906:4cc7:: with SMTP id q7mr9818630ejt.437.1600859578803; Wed, 23 Sep 2020 04:12:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600859578; cv=none; d=google.com; s=arc-20160816; b=URKVemJ1Tgb0XTQdDLP3QiokIb+QJWjqoquW0cBMQy5QCj/Ovzg9ceS9TjfjbWY56O KPftfrCGRxWAkc6LgVdREdq5rNxMQf4MzRK0H3zAy5uvZLDaV3P8U3dPpCSIIWQHdIcW HpXydnHf9Rngii8rkI1fVeS0fhuurRceBj607nguJ9k8LBufwNAAo0MxUN5A3NBbCs+Z rvjI4CqOyrUyrUeJ9/o4CXFPLoghCOAQaXfgHvAdErSTAQ6htoRE8ykFcSmQ5+52HtAQ C0EXRcB2cwtLTTz2MVJ6Pi/Y1rrdhwlHLWVCDtTpOYWTUL6q73R4Lbkp1IoQDYQoOrjC MU6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=DJTmiONWCd4/IE9BKcqzLrFedoYYc/S1SYK8xXaNcTU=; b=eFliAhopTKHrPVe8mZC9ezSl7lL4y2ymDO1+38xkAUTvEHeVUBc8nWq8rkC+9eNd9Q 1UxOFtdiwbr4GZi90X0sce/U+JUa54obU4C7oEu8o6eLg9ZxNiPCoSrh19j9js7uq/Pb cdMRDq3HcAjnyZslexdrSS/A0iv6q/bEaEQAB9AdsQQT6h+cKh/PlhHNr7l0q19QwlWN CppKLRAWrB3TnrFM3aE1L/mmzsE+fwcwO8b1ngrybhLtXfEiLhPL5Zqhs67Vawp9IsVd kKOPLEkIwRbuIJp0wcZ6xKKEq8X5kHmxxVsPvIzuhkGp8ejnSZO4QsdJXdngDcOyhxis n3JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="SlZuamR/"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q27si9248754ejc.593.2020.09.23.04.12.34; Wed, 23 Sep 2020 04:12: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; dkim=pass header.i=@kernel.org header.s=default header.b="SlZuamR/"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726513AbgIWLLY (ORCPT + 99 others); Wed, 23 Sep 2020 07:11:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:38670 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726332AbgIWLLX (ORCPT ); Wed, 23 Sep 2020 07:11:23 -0400 Received: from pobox.suse.cz (nat1.prg.suse.com [195.250.132.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 83DDD2145D; Wed, 23 Sep 2020 11:11:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600859483; bh=hkQAUNzoIZDlIOnSqsIjT4FANxzRdAr5tRKOTda18yA=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=SlZuamR/U7BgydtmHUtuaSPvgzv+Od8Q6GLABJnNb6z3l7R3XiZ4E0+/wm3IO2NCc XEOBK0eIVR123zmzN3Rn4Wv4iOsPD8gS9bcyatjpxmo28bdwu8NOM1ND3aBIQ+EJCc U5+5H1vU1LxZ+b4kn6p70XXEL86k4/dDJqKwcPM8= Date: Wed, 23 Sep 2020 13:11:20 +0200 (CEST) From: Jiri Kosina To: Xiaofei Tan cc: benjamin.tissoires@redhat.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com Subject: Re: [PATCH] HID: core: fix some doc warnings in hid-core.c In-Reply-To: <1600776012-7663-1-git-send-email-tanxiaofei@huawei.com> Message-ID: References: <1600776012-7663-1-git-send-email-tanxiaofei@huawei.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 Sep 2020, Xiaofei Tan wrote: > Fix following warnings caused by mismatch bewteen function parameters > and comments. > drivers/hid/hid-core.c:931: warning: Function parameter or member 'hid' not described in 'hid_parse_report' > drivers/hid/hid-core.c:931: warning: Excess function parameter 'device' description in 'hid_parse_report' > drivers/hid/hid-core.c:961: warning: Function parameter or member 'hid' not described in 'hid_validate_values' > drivers/hid/hid-core.c:961: warning: Excess function parameter 'device' description in 'hid_validate_values' > drivers/hid/hid-core.c:1452: warning: Function parameter or member 'report' not described in 'hid_match_report' > drivers/hid/hid-core.c:1452: warning: Excess function parameter 'report_type' description in 'hid_match_report' > drivers/hid/hid-core.c:2132: warning: Function parameter or member 'drv' not described in 'new_id_store' > drivers/hid/hid-core.c:2132: warning: Excess function parameter 'driver' description in 'new_id_store' > > Signed-off-by: Xiaofei Tan Applied, thanks. -- Jiri Kosina SUSE Labs