From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 79AA1A0547; Fri, 29 Oct 2021 15:19:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 34E1C4111F; Fri, 29 Oct 2021 15:19:29 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2060.outbound.protection.outlook.com [40.107.220.60]) by mails.dpdk.org (Postfix) with ESMTP id 43BF3410E1; Fri, 29 Oct 2021 15:19:28 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YX0hruUHt99UCFmKttp43iusdIxv0DiJRImiNFukfAsNbK/BBRMzSW3D+LIQ9ITriZCmDc42TA43v1WX6wfq/eYlfC/NWlQo18LWGdQSlw2MsBjZDXc1W9Hag+W2ZWdwG8YpeLnMXH+H6HTUipynAf21a6fo2w7w3x7Sx/3oLCyuw8zg01ImuhEDey1L9mTiNB5WatABKayDcxjMt4Mh0O8zMdEYQCutQESzatEDGqdXdXzidKwQWBdUARe1vK4lCp/DD3cjNyvrEuTLZKTEKBBhDIuLkzYHlB/scIlMV2sSfmLktaSNkIqGkFoZdGMOfLvIN5QuYWo9qhvdbTigBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=RFZZZi+UDDS9MS2QgQcA38awsWKv+IDj9YfoU7JhIAw=; b=aSCacd4p7QyVVDA5arEU+FqulcduQqRvNAKugl9LwXBSDWnFW+gQQm2l8rXsjizIBrWN6PqiaQwbDmGqPBsoMYQPHDYHnWU1HooxVB5k+fpmByzfNTTgbda/c5+5JA/8D77HmjO25Nd1cNnkrE1r40dhfKWhzgnRdFzllbwFlmIzlDRI3L6fqvgowmLN9FdwnJUcgPuyqsJiVvyxsgm+77N2SU/1yOkFjvt+gK4x5p0fW0fUFAMhdySsPd02/0lVE8dgi8yTHzjDZDpkpe72G4EAeG2VM2WifghW/NuID10HWd0gOTvF1TR/w8nKzZRotMd8O23UjjoqIBq4bF7tUg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=6wind.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RFZZZi+UDDS9MS2QgQcA38awsWKv+IDj9YfoU7JhIAw=; b=oQeFs+IqTreH0a8Lh6g3FUT6eW3Ms6oc6Giklt5tIYFEzYzMl1KBXM90t11g2UScHLkEaECCHwUMi1Pl/eHKhdEQT5NWQXzItA4tb+tkGMvBBMhnJtVDALtTEfX/H1JrJkG6DruC6yItAhr82eIWSZQYOD29nL5D7jbw4FKC4Ibv2pnRSQH9RBvc2EDoon76lziIuU5Q5wJJd4CwWZr9hu1R+zM4BJH3ARulqQiZ0AAWCFXUxYA5/dhs7FW9dY7BD37r8cB+glDbVh6j9MgdtoDMLTx1Z+4Ry8oEEMtuUhUSvhQnSCR1e28b8tUV6D5fWzgUKDJqkFasSIc1LexbaA== Received: from BN9PR03CA0577.namprd03.prod.outlook.com (2603:10b6:408:10d::12) by DM6PR12MB4513.namprd12.prod.outlook.com (2603:10b6:5:2ad::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.13; Fri, 29 Oct 2021 13:19:26 +0000 Received: from BN8NAM11FT059.eop-nam11.prod.protection.outlook.com (2603:10b6:408:10d:cafe::70) by BN9PR03CA0577.outlook.office365.com (2603:10b6:408:10d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15 via Frontend Transport; Fri, 29 Oct 2021 13:19:26 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT059.mail.protection.outlook.com (10.13.177.120) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4649.14 via Frontend Transport; Fri, 29 Oct 2021 13:19:25 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Fri, 29 Oct 2021 13:19:23 +0000 From: Dariusz Sosnowski To: John McNamara , Bruce Richardson , Siobhan Butler , Thomas Monjalon CC: , Date: Fri, 29 Oct 2021 16:19:02 +0300 Message-ID: <20211029131902.44827-1-dsosnowski@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 328637bc-bc81-4534-17cb-08d99adebae7 X-MS-TrafficTypeDiagnostic: DM6PR12MB4513: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nk+NwZWMI5h1WlSMqtma/qZDXYoYBn2Ushpgbsi3E0TnTir/0iuKCiWcc/vfhdy2WaHmt7Qf9zkD/JjojNqku3gNtpvIcNh2XuzPWluoU1Q+1kGhJmDrBKdNCWWg6cfftsD4vhu2N4j5A9CaBldBfuMIOUo8lU9DSadwYSD746KCD8uUDWjWzgS3aoLt7tykD9bGzeUZxKaudLaIuIZsO+gQoiwN7PZydBoHFlR5C1fJ6vlnNAZBjh0feHq3uTFkddsDCh8cq5mNpty+lP1YktCJ9Uflzgg4kUVUSA87nMcGTHgOTVJT5xz0/gmYKsYxCPJHigmMaKPXpswl/Wzr2u1vyJnJi4bjHKutPzpMvE6AgBrwvVQnAnxIg4o0ms7itjCkQZ24wjcKOl/gVlK3PEQDgnWrp4SGaziZmaKqSf8PHR6ZmxCf+c2OEbbuPxjFH5GIcAEjrQ3MeUgLjx7fsuwytAjxWKqbsIGSPxnNxdpin2bVTZP3lmLmytR+zCA5nc5S4h5dX9towkvrqPVK3eC68xGp6T412/5QwowhNMSGH2DYxA7V7uhCmMYVwPPMpvZL3BoyfOAvfs7T9Kt+JDxkCMdsYFOOK7D2XmVwTUL8TWb4PHLQc4fwt8K3/w9X/Um0FdMOmBHS2QWhZ071FPD+NYAGRC3JRoItATUzDrC02CFpP3rEPnFal8UTrpWfeSh512BqkzuZHLkh/A9t3Q== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(8936002)(110136005)(70586007)(83380400001)(86362001)(336012)(356005)(54906003)(55016002)(4326008)(8676002)(47076005)(7636003)(2616005)(70206006)(36860700001)(6286002)(7696005)(26005)(186003)(2906002)(82310400003)(36756003)(316002)(5660300002)(1076003)(6666004)(16526019)(426003)(508600001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2021 13:19:25.7101 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 328637bc-bc81-4534-17cb-08d99adebae7 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT059.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4513 Subject: [dpdk-dev] [PATCH] doc: fix typo in coding style X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch fixes a typo in DPDK Coding Style, in Return Values section, i.e. replaces "indicated may" with "indicated by". Fixes: 36032e46be40 ("doc: add coding style") Cc: stable@dpdk.org Signed-off-by: Dariusz Sosnowski --- doc/guides/contributing/coding_style.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/contributing/coding_style.rst b/doc/guides/contributing/coding_style.rst index b27b5fcfdb..506f706ebd 100644 --- a/doc/guides/contributing/coding_style.rst +++ b/doc/guides/contributing/coding_style.rst @@ -619,7 +619,7 @@ Return Value ~~~~~~~~~~~~ * Functions which create objects, or allocate memory, should return pointer types, and NULL on error. - The error type should be indicated may setting the variable ``rte_errno`` appropriately. + The error type should be indicated by setting the variable ``rte_errno`` appropriately. * Functions which work on bursts of packets, such as RX-like or TX-like functions, should return the number of packets handled. * Other functions returning int should generally behave like system calls: returning 0 on success and -1 on error, setting ``rte_errno`` to indicate the specific type of error. -- 2.25.1