Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1599630rdb; Mon, 8 Jan 2024 04:45:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IHyMzR+Dik3XC1LOz+jvNA2JVBlfGi9+EtGzQuwLHssjdxkY55N7yDW+11HROpO9UDv80Yt X-Received: by 2002:a05:620a:229:b0:77d:c2ef:9ecf with SMTP id u9-20020a05620a022900b0077dc2ef9ecfmr3794716qkm.51.1704717924776; Mon, 08 Jan 2024 04:45:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704717924; cv=none; d=google.com; s=arc-20160816; b=gjpGYAEeMKWRWUHCsHkQ3up39ZyiDh+yUMRdlfoonovseYjymn8/nmsIjeaqyISPMb AGdRHmvx0YbEvA9XAk/9Cnu6Kqp85/QVsP42USCDk7sHcsiiD2gs/tK2WDDafE+X3CDh 0l8mCTnku9WECDUSb5fToTBABJ06rFwfuwBzL+/y0KnQ2Cmrw7QFlbvExB+XPduhxk7U 0nPkgL2NSqsNYbfNvCVbrLuUzGZ4XrBLoBipqQkTroE8fZi/iS4MrNqyxRlw6ZUJjGey SqHJXzMR3ccmzR2GS3xnL2dBRdU0hIoljY512QquC6CbT8Ai4prDCsMDCYaI/yaYAX/A OtKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:subject:cc:to:from:dkim-signature; bh=N2p1qLFqTh1eGVsKOzqi37fKR9E1e8ynGUDJwsQLkbI=; fh=GcRhLv/H4W2WbRkF5q549s7fEzfbLIEmf8jPS0B8ARo=; b=kgZFN4frCWvOdCL/1UA7eA/i2GKQIkjBIpNegzVtCFIi8NmrIGZwOiyYwW18TkQxXi amkqEaLtobcKSV2yQgXFQ9BSMNlS/JmPk6QJQXuPVpvrFmcGQMofhPPp4Mc863LP7SxX wlBEv23DQ70Ift87U1f5WQkAk+0+UawVDNfwoUexX8vTZAJSMhg7RQ9oHZPtmkXbapvl /V1OEF2iQC6xWDLeL+E/6jxN5ov3HYSLc1OQXFLDPvGUjnCWXUO+kIAcO9oVSqV/fC1A cTnjh8oOM0SjxXPPUsS+TMBC8cJMSdge5UA2i2PsMA6FsvRHWAwZ8gOr0m1Ii+sVfLjj qTgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=RoP92vRx; spf=pass (google.com: domain of linux-kernel+bounces-19550-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19550-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w23-20020a05620a0e9700b0078316faf794si4101653qkm.441.2024.01.08.04.45.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:45:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19550-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=RoP92vRx; spf=pass (google.com: domain of linux-kernel+bounces-19550-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19550-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 878CD1C2096D for ; Mon, 8 Jan 2024 12:45:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C9944174D; Mon, 8 Jan 2024 12:36:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="RoP92vRx" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 EAFD64122F; Mon, 8 Jan 2024 12:36:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4088xTWK014883; Mon, 8 Jan 2024 12:36:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version:content-type; s= qcppdkim1; bh=N2p1qLFqTh1eGVsKOzqi37fKR9E1e8ynGUDJwsQLkbI=; b=Ro P92vRxm3nKJqi6oFGLteJVLtNt3XWvKsqN9c7ET0N2mrOxzT9OhKB7Zt4F0fRYG2 8I1o7Xop1h9OGPDX0mJHg/oyW16gdE+sBTmfY+ejc1f2cUh3fQ/7E6Q9zWz4Kpt7 pND9Wu/BXx6hgujE6bnDoeXMr6ouJGljhHJTbpcMgMf+IKJ1JvJ9WRCrI7soJtTo hnXBwOaUeJeC0owM7t0xPMpGweTyvSwy55XLlC9y0WI6x41jDvmUoEhvgPCQsMa1 qK84g6V67s4j+cPT2JHHY4pAsvsgzpWkuHtgQsMgqSZpyffFlTpiyRjC9Wp0nTjl xz3iIX4efdF1vAS+R7sg== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vgbjygr2p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Jan 2024 12:36:25 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 408CaOe7015863 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 8 Jan 2024 12:36:24 GMT Received: from hu-ugoswami-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 8 Jan 2024 04:36:22 -0800 From: Udipto Goswami To: Greg Kroah-Hartman CC: Krishna Kurapati , Jonathan Corbet , , , Udipto Goswami Subject: [PATCH] usb: gadget: ncm: Fix indentations in documentation of NCM section Date: Mon, 8 Jan 2024 18:06:02 +0530 Message-ID: <20240108123602.10593-1-quic_ugoswami@quicinc.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 4roVCPCRkj7jAenOjlKbZSAYVxu1lt53 X-Proofpoint-ORIG-GUID: 4roVCPCRkj7jAenOjlKbZSAYVxu1lt53 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 mlxlogscore=491 impostorscore=0 bulkscore=0 phishscore=0 suspectscore=0 adultscore=0 spamscore=0 clxscore=1011 priorityscore=1501 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401080107 Currently, the section of NCM which describes attributes are having wrong indentation. Fix this by following the correct format recommended. Fixes: 1900daeefd3e ("usb: gadget: ncm: Add support to update wMaxSegmentSize via configfs") Signed-off-by: Udipto Goswami --- Documentation/usb/gadget-testing.rst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Documentation/usb/gadget-testing.rst b/Documentation/usb/gadget-testing.rst index 8cd62c466d20..077dfac7ed98 100644 --- a/Documentation/usb/gadget-testing.rst +++ b/Documentation/usb/gadget-testing.rst @@ -448,17 +448,17 @@ 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 - host_addr MAC address of host's end of this - Ethernet over USB link - dev_addr MAC address of device's end of this - Ethernet over USB link - max_segment_size Segment size required for P2P connections. This - will set MTU to (max_segment_size - 14 bytes) - =============== ================================================== + ======================= ================================================== + ifname network device interface name associated with this + function instance + qmult queue length multiplier for high and super speed + host_addr MAC address of host's end of this + Ethernet over USB link + dev_addr MAC address of device's end of this + Ethernet over USB link + max_segment_size Segment size required for P2P connections. This + will set MTU to 14 bytes + ======================= ================================================== and after creating the functions/ncm. they contain default values: qmult is 5, dev_addr and host_addr are randomly selected. -- 2.17.1