From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CBAE0C54E94 for ; Wed, 25 Jan 2023 17:26:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234581AbjAYR0z (ORCPT ); Wed, 25 Jan 2023 12:26:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229612AbjAYR0z (ORCPT ); Wed, 25 Jan 2023 12:26:55 -0500 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8809A9F; Wed, 25 Jan 2023 09:26:53 -0800 (PST) Received: by mail-ed1-x52c.google.com with SMTP id z11so22631000ede.1; Wed, 25 Jan 2023 09:26:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:message-id:subject:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=CYMEij3rxHWyzgLm7dd5XsZ6vBXXY5YhrQ7zALUGLjk=; b=Dv8hdB3DMUVXMukiXrX8R5uayffhTytfjOgnhlH736EMc/WIsAQMKzQ57MnRHeWfFV F5n3xRt1KakybWkK45QuYajlkvzPLPosyqXR5rIt0hlMzci8GZPbFFEF3CHAYx8vP+FI dODp8tKCEe1ugqJMoxMcZ0nPXGlCRpjb0siys1HlQlai19Q0sgK5VCnv39XzIfMpOX36 aG0myJGc/o/HGOD2kuxfpc40mLNnhjIFyVhT5+bTcY7BZ32M3VR2MkVBxdkJJ5FSy3GR bqnyabPa0HRsK863qhLq+U5WF328x620ZEXXVWii0q+Spxo+bzpjNxZFYnv/PHETxY1g 8pew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=CYMEij3rxHWyzgLm7dd5XsZ6vBXXY5YhrQ7zALUGLjk=; b=O/I/HOnqVuWBC8RMrYaEc8YiiPzTGEWxPjbwiHwnowiJ6iMI79XGskVEYoA7LuDxyn rSRv6f9uqLOQiyXOd5dAGG22XCfoEpsU/YGAyWEc9OJKutosQIfE31FriniO9lzn+S1K +fwglx/2p7IL/a9yLClcHSrgR98Pqo2P1LgbChk1jwAmrva7uBuMEljLvnVAm32B06Uw QeXXgouj4idQM6YBn86mLHWOpg3ejYgmN8Gyh59hhimCMtdKKTtT/RgBZEU4KemfAoeq 4EMHUFYlq41R42OVyjBPasXKs4hpjJyrdqxZZuXKSqF75mKEdRulWSlDKNja/gzV41eF Vn5Q== X-Gm-Message-State: AFqh2kr/xjknTdK3IMGS2klFpQ6LAB+HlHeFxZpS5HVPJGshBTm9z5kc RC6W2mp6Wo9Uba2fXDUkmuoI1memruE= X-Google-Smtp-Source: AMrXdXsUvLlARBjMXRXjQMdoUzGjSjgvrKOPoFY18DBSj653Pol8v+oWAZdyD2Rlk/XeWRH8j+FQVg== X-Received: by 2002:a50:ff08:0:b0:49b:7416:e3ff with SMTP id a8-20020a50ff08000000b0049b7416e3ffmr34024896edu.5.1674667611597; Wed, 25 Jan 2023 09:26:51 -0800 (PST) Received: from jo-einhundert ([2a02:908:13d6:2180:36e8:f43a:77c6:b1a2]) by smtp.gmail.com with ESMTPSA id lf14-20020a170907174e00b007c1633cea13sm2688052ejc.12.2023.01.25.09.26.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Jan 2023 09:26:51 -0800 (PST) Date: Wed, 25 Jan 2023 18:26:49 +0100 From: =?iso-8859-1?Q?J=F3_=C1gila?= Bitsch To: Greg KH , Stephen Rothwell , Linux Kernel Mailing List , Linux Next Mailing List Subject: [PATCH] usb: gadget: add doc to struct usb_composite_dev Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org Added documentation to the new struct members: * bcd_webusb_version * b_webusb_vendor_code * landing_page * use_webusb to avoid warnings in the build of htmldocs Signed-off-by: Jó Ágila Bitsch --- include/linux/usb/composite.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/usb/composite.h b/include/linux/usb/composite.h index 91d22c3ed458..7ef8cea67f50 100644 --- a/include/linux/usb/composite.h +++ b/include/linux/usb/composite.h @@ -432,6 +432,10 @@ static inline struct usb_composite_driver *to_cdriver( * @qw_sign: qwSignature part of the OS string * @b_vendor_code: bMS_VendorCode part of the OS string * @use_os_string: false by default, interested gadgets set it + * @bcd_webusb_version: 0x0100 by default, WebUSB specification version + * @b_webusb_vendor_code: 0x0 by default, vendor code for WebUSB + * @landing_page: empty by default, landing page to announce in WebUSB + * @use_webusb:: false by default, interested gadgets set it * @os_desc_config: the configuration to be used with OS descriptors * @setup_pending: true when setup request is queued but not completed * @os_desc_pending: true when os_desc request is queued but not completed -- 2.37.2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 392D3C27C76 for ; Wed, 25 Jan 2023 21:34:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236687AbjAYVeR (ORCPT ); Wed, 25 Jan 2023 16:34:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236735AbjAYVeQ (ORCPT ); Wed, 25 Jan 2023 16:34:16 -0500 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B872E5BB6; Wed, 25 Jan 2023 13:33:50 -0800 (PST) Received: by mail-ej1-x62d.google.com with SMTP id ss4so31137ejb.11; Wed, 25 Jan 2023 13:33:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:message-id:subject:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=6n5jLL5ph6VO5rm/KwnIygzlxq5cwf2QkTHEzDecDts=; b=RZj4rDmYVuT9ph4Y5/AOAu1pjAAq4x5heKsFkBfAzWMHPneMLJBqYvOcYKEehbZFdl BL8mM1xxQv8ZVxP5bi8zJxfacnnCEjzK4NGIJ/I8+twgB/su7K3vXBw7+N1Tp2emvPw3 neq9ipUVtJKF0/iuXuGu7aTZFe6lTkZ8vvinJz0+mADTjfbCItATuZnQzrutV+OlmtUD w+Z2lCigim9WjrTTkopr7UGRtB/xjipDhk88a5dlww9INArOXj7vd+TssyCLOK+lrbZt kVJDCyTkf8fALXEfPy2dbsfEZ6hNLbYEs32nL6k3IlTe+l2MCZKSo0m3knQBqGoQql89 39MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6n5jLL5ph6VO5rm/KwnIygzlxq5cwf2QkTHEzDecDts=; b=lMwcHm/+8bCGLulbw3zuS6K3V7ZsBcIfCUv81LwhMRqCW8Rj4LmGn6h55njXwfXBo4 B4eVsIH2I0SEjg1+GSyCXoeqmvfYqQ9pOkIVob/f8VAU874nqWqRInNCDvC67MFvjTWZ XNDi0wjYKGlToCLpj53gbgYzY25xQD37FH1BXk9D5aGHH4TN2E/0y3nVPcYNGXtZmBZc g1wl+SIvY46gJe4pc5xhFvBNTs8pwDdHSZy+Bmky3SlF+aeoKsCFOlO8hZ8rI3WUyguh hKSTqvDRjXP73DMMfJ2ql9Flt1ixZrOHRYS+kDwGq/aJwfqjljaj92b4YdFkVA+Wdn8w NN8w== X-Gm-Message-State: AFqh2ko83jXb64VvgCGxmaQH6oohuuGIJIXN45MsqKB2zayjphZbDzjb uvgyXFtuk0XFSaXr/ZPWmffAm92gy20= X-Google-Smtp-Source: AMrXdXtFJ9dHCoW34mPFTdH5ix7Zv6ywMoyj24QFi8jRZYbPbY8oLn6P/0ku7HN0wP/vimKdzwOzEw== X-Received: by 2002:a17:906:f0d1:b0:84d:450b:8767 with SMTP id dk17-20020a170906f0d100b0084d450b8767mr34657883ejb.21.1674682428818; Wed, 25 Jan 2023 13:33:48 -0800 (PST) Received: from jo-einhundert ([2a02:908:13d6:2180:956c:5c0b:c22:76b8]) by smtp.gmail.com with ESMTPSA id i25-20020a170906265900b007ae10525550sm2885474ejc.47.2023.01.25.13.33.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Jan 2023 13:33:48 -0800 (PST) Date: Wed, 25 Jan 2023 22:33:47 +0100 From: =?iso-8859-1?Q?J=F3_=C1gila?= Bitsch To: Greg KH , Stephen Rothwell , Linux Kernel Mailing List , Linux Next Mailing List Subject: [PATCH v1] usb: gadget: add doc to struct usb_composite_dev Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org Message-ID: <20230125213347.0N2mrFkdJ40TlvkC4n0zTrYYTzzBp0z2nx_itDQPn9w@z> Added documentation to new struct members for WebUSB: * bcd_webusb_version * b_webusb_vendor_code * landing_page * use_webusb to avoid warnings in the build of htmldocs Fixes: 93c473948c58 ("usb: gadget: add WebUSB landing page support") Reported-By: Stephen Rothwell Signed-off-by: Jó Ágila Bitsch --- V0 -> V1: added Tested-By and Fixes Tags include/linux/usb/composite.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/usb/composite.h b/include/linux/usb/composite.h index 91d22c3ed458..7ef8cea67f50 100644 --- a/include/linux/usb/composite.h +++ b/include/linux/usb/composite.h @@ -432,6 +432,10 @@ static inline struct usb_composite_driver *to_cdriver( * @qw_sign: qwSignature part of the OS string * @b_vendor_code: bMS_VendorCode part of the OS string * @use_os_string: false by default, interested gadgets set it + * @bcd_webusb_version: 0x0100 by default, WebUSB specification version + * @b_webusb_vendor_code: 0x0 by default, vendor code for WebUSB + * @landing_page: empty by default, landing page to announce in WebUSB + * @use_webusb:: false by default, interested gadgets set it * @os_desc_config: the configuration to be used with OS descriptors * @setup_pending: true when setup request is queued but not completed * @os_desc_pending: true when os_desc request is queued but not completed -- 2.37.2