From patchwork Wed Jan 10 20:35:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 187066 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1041081dyi; Wed, 10 Jan 2024 12:36:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGNq+u3lC54wpNzyZNHrV0ej2b5Ypz3x8wLf+U3z06MSt3sV7KzY7RDAeU0W05po6Lcjs77 X-Received: by 2002:a0c:e04f:0:b0:680:f58:9ed0 with SMTP id y15-20020a0ce04f000000b006800f589ed0mr46898qvk.93.1704918980156; Wed, 10 Jan 2024 12:36:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704918980; cv=none; d=google.com; s=arc-20160816; b=PmF0pa++hEZCEy5uC27i0vA1PsdOTk2rtkReiExfr6toqX5T/3SCo9Mj50FGFXOyJG WOInLeqTMtza+eACsTiUdRuNnUFatQ5y13/k80FEv0xpU2fbc6YQYQXY0OzvVa79+ucl Zeug9dVvz5RA+h2fopVPQnLYaCcgF+HIfvl0T66wcWHlWh36evvG0BWaopahh/KKVV0k 6MFgduv8zg2C+P8ew02gt3Tak5mIF9f8H8yVq7h0cYO7yGo4I7qM5l25N31AFYqy5Xs6 SWrVBLBO6FFaEq4lLkMmX579Hr8VLxAg78Obg48CyE3ACcLhJkVvx0brmKoF7lLZya07 6TPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=hm+GOWLWZMlQYiUykVPkXxcZsaeHx3xTaM9h8zPhfMw=; fh=pqeYgJTyohn2R0J1+0sczhuJwkZl/QcjxoJq8xEF3uw=; b=CVqVuDg3tXkY2ozIEpP5z9dnGiypuyErW6xWdfxNymu622rwxExTYbqxhy5oeoxnWC pUPA3qQDcQcr5GSN82Xb+vV6pZcpSwX9WY5vkrno79w/zChOOfz6D4rmmotE/QH4WfMX NkozctMrp3Vm8YeuzVRuBHMpnHRwDKPbNb3GB9wFQsoPDO0pbAKng01Iux9QswLQjcFb zyOBoRDShlftEZENM6h7EFf1ACDtgJ2wN8askWrmcvg9lWL4vyz+tYekaOG6LxPtxcJj khiO1ukCOwmndfhz6uSuMUCEyRsim167BVvfFrKSIFHthx4OcGicFObQzibUdvrMv/qY UhLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=KkKoyZuV; spf=pass (google.com: domain of linux-kernel+bounces-22739-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22739-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a10-20020a0cca8a000000b0067f99bbc77dsi5114244qvk.302.2024.01.10.12.36.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 12:36:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22739-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=KkKoyZuV; spf=pass (google.com: domain of linux-kernel+bounces-22739-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22739-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EB5CF1C2137D for ; Wed, 10 Jan 2024 20:36:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3913C4F20D; Wed, 10 Jan 2024 20:36:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="KkKoyZuV" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED15E4F1E0; Wed, 10 Jan 2024 20:35:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=hm+GOWLWZMlQYiUykVPkXxcZsaeHx3xTaM9h8zPhfMw=; b=KkKoyZuVd8JKHa4QJxJwkcS1Cd D91R5tFWaNIAGiKYHzg+9pVyjQVzgJCabMfF8DCgfXbKu+/N8XHWp/4NW4jZVObdlqF4i2c3ql/ux p47R6bEUjYDJRDmCThWASEIJki0SDf1h2jswBDHHBqwli352TajDPYHZESc8Avymv0lR915IehkMB b5HYXqmFgn8MIizRPfuMpfz4y7q87nSGTxThWYLQUXGSuW3O381uGBIDAEApeBAKu9B1kGvQtGdM3 t3aDcmfpEuQdVNiGTLlKEB6y5FXn/WYELDOOSYA4M0m6OtaE43WAC5ZeqU2IvaVHyK86iiYBioPJq na9jppQg==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rNfIt-00E13W-1W; Wed, 10 Jan 2024 20:35:59 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Krishna Kurapati , Greg Kroah-Hartman , linux-usb@vger.kernel.org, Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH] usb: gadget: fix max_segment_size malformed table Date: Wed, 10 Jan 2024 12:35:58 -0800 Message-ID: <20240110203558.2638-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787737124735752218 X-GMAIL-MSGID: 1787737124735752218 Sphinx reports a malformed table due to the table begin/end line segments being too short for the word "max_segment_size", so extend them by one more '=' character to prevent to error. Documentation/usb/gadget-testing.rst:459: ERROR: Malformed table. Text in column margin in table line 9. Fixes: 1900daeefd3e ("usb: gadget: ncm: Add support to update wMaxSegmentSize via configfs") Signed-off-by: Randy Dunlap Cc: Krishna Kurapati Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org --- Documentation/usb/gadget-testing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -- a/Documentation/usb/gadget-testing.rst b/Documentation/usb/gadget-testing.rst --- a/Documentation/usb/gadget-testing.rst +++ b/Documentation/usb/gadget-testing.rst @@ -448,7 +448,7 @@ Function-specific configfs interface The function name to use when creating the function directory is "ncm". The NCM function provides these attributes in its function directory: - =============== ================================================== + ================ ================================================== ifname network device interface name associated with this function instance qmult queue length multiplier for high and super speed @@ -458,7 +458,7 @@ The NCM function provides these attribut Ethernet over USB link max_segment_size Segment size required for P2P connections. This will set MTU to (max_segment_size - 14 bytes) - =============== ================================================== + ================ ================================================== and after creating the functions/ncm. they contain default values: qmult is 5, dev_addr and host_addr are randomly selected.