From patchwork Wed Jul 15 09:32:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11664619 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 E64CC618 for ; Wed, 15 Jul 2020 09:34:46 +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 C08382064C for ; Wed, 15 Jul 2020 09:34:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MJnfaZQo"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kr848DQ9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C08382064C 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=CkidSGJvk0V6f/y8xTuEFI38CxmqSoeDJzOG8V5nVW4=; b=MJnfaZQoE/FrhXzW7bmKl1yce QXhxGEAjAdXjLYSxZyHvyNzSihR70nAqoRqMbmbU0x7Xy5qcCiFUgYvx4JtLgP5ZtBTU5IcJfDgPj QMlzhW7Tc23na/rVdhb0sUHGwoHdutoD1fgdPNJJgE4XZby4EiLL29OzB2F/h9mtFWREogDocH/yW pViG5kbgOrhShJLalcOZEMwlrs7yUvDv9inTZBCFVYfKi44IrlZqs2qSnz2ZyZGc0D50EPUoKhH5W DU4iSF0BsvJ30EkWSBzKc6bg67OS9wLRAYS0tRCAflw69asU7Lskkl8QEa2mE0SXgkKtvrgNAPHHK QV9+kczhg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvdmk-0003cr-TJ; Wed, 15 Jul 2020 09:33:08 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvdlz-0003Mk-UO for linux-arm-kernel@lists.infradead.org; Wed, 15 Jul 2020 09:32:22 +0000 Received: by mail-wr1-x444.google.com with SMTP id k6so1706366wrn.3 for ; Wed, 15 Jul 2020 02:32:19 -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=LLJr1BBujxQgRf198E6OimaqdThx6WekIFuCOWBUZHE=; b=kr848DQ9ivIVfBHU6WJ8Wly8JL0ZbRIf1G3oj2WAD7ofS9XQNvwMS2e0gmX4WhVzKi D8jxSQC44EqtEw5q8u+Z/ZBHCwviGXkyI0Qg9St4qOfJ4GlXrtdZSweriaNAyUcqy6Jx rzzCf6Br8pwtRvpnhljycULVdv60T2JVS4og79hV89iNKWb0a/HI+Was+ROyYO1Umeij muJIBhE8XjmyQoDccGKD6GnIC+QYey0ZhjgZQxhZo4OPdfvo5vAkT+3iF/shc0GmpEit q5fVyQUAajS3Q9bmzwwkVJK4pAREl9iG0gxQI7B17lhvkJj6lyL2SNDqU5nDl2u3mVEf UZ2g== 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=LLJr1BBujxQgRf198E6OimaqdThx6WekIFuCOWBUZHE=; b=etL2+xr+5gfTvyPv7hK5UczSzMRlo+it6hTTdvpy/GGhRDj9HGLrNZvdH9qalIaOrE A8MwPe0IeyIp03qCvSjlfeRw70s2EdEo7BzwDU/7hjj6RJ0wOOx0pfIANf4dBgaftVb7 cb5McqXB3Wlftt37xI4gPGPyxWegeV3oPP/yQCoqpSyXhz0Lsq4KWwaYXxrbNES/Q8tX E3WF1+PmgCB11se9BFXqjS7sqpBHc+Fx5AXKrTV7/y+EKo/SEgXwXiEcIopW5E3ikJXS f3yHUFvkpqnKtpQ77RZdUOwKZtwxYy9MnRyFv7AwO0vQ26Wla3K5Ddwr5pZkXj+furcU Jf5A== X-Gm-Message-State: AOAM530qw9hkAMm49XfEEzCcgcJLdfKhYmMLbvE4465/tG7jDeyQytTP tnDm0jEfFSoHkDNuhxHKrljD6TyHlk8= X-Google-Smtp-Source: ABdhPJzeuYlG/tm0jxRW34wzZNpRlF352IlkECXOk6bLtk1cRbbPoxaw5zCmvUSrZuy8Wcsq493Kew== X-Received: by 2002:a5d:4d8b:: with SMTP id b11mr10407200wru.341.1594805538872; Wed, 15 Jul 2020 02:32:18 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id s203sm2686991wms.32.2020.07.15.02.32.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 02:32:18 -0700 (PDT) From: Lee Jones To: gregkh@linuxfoundation.org Subject: [PATCH v2 5/8] usb: class: cdc-wdm: Provide description for usb_cdc_wdm_register()'s manage_power arg Date: Wed, 15 Jul 2020 10:32:06 +0100 Message-Id: <20200715093209.3165641-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715093209.3165641-1-lee.jones@linaro.org> References: <20200715093209.3165641-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200715_053220_022893_BB7CDBC9 X-CRM114-Status: GOOD ( 12.89 ) 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:444 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 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: linux-usb@vger.kernel.org, Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Oliver Neukum Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org A good attempt was made to document everything else. Fixes the following W=1 kernel build warning(s): drivers/usb/class/cdc-wdm.c:961: warning: Function parameter or member 'manage_power' not described in 'usb_cdc_wdm_register' Cc: Oliver Neukum Signed-off-by: Lee Jones --- Changelog v2: Fixed-up trailing whitespace (and enabled highlighting) drivers/usb/class/cdc-wdm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/class/cdc-wdm.c b/drivers/usb/class/cdc-wdm.c index e3db6fbeadef8..7f5de956a2fc8 100644 --- a/drivers/usb/class/cdc-wdm.c +++ b/drivers/usb/class/cdc-wdm.c @@ -940,7 +940,8 @@ static int wdm_probe(struct usb_interface *intf, const struct usb_device_id *id) * @intf: usb interface the subdriver will associate with * @ep: interrupt endpoint to monitor for notifications * @bufsize: maximum message size to support for read/write - * + * @manage_power: call-back invoked during open and release to + * manage the device's power * Create WDM usb class character device and associate it with intf * without binding, allowing another driver to manage the interface. *