From patchwork Wed Dec 13 04:34:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 177776 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp7542867dys; Tue, 12 Dec 2023 20:34:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IGzX0Xmp+YEq6M9M/jFwdpPntNrwqOtG5N2YysVTTBgWivZSqqL+Iodtv5Z4S7aEt/Lk6z2 X-Received: by 2002:a05:6808:10c3:b0:3b9:e4d1:964f with SMTP id s3-20020a05680810c300b003b9e4d1964fmr9418996ois.8.1702442056880; Tue, 12 Dec 2023 20:34:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702442056; cv=none; d=google.com; s=arc-20160816; b=criFSN4J9RhRzQ5IFgiHbS6Ny4Lz+8peAdUHMDYQYGAfcTPZyPTZuhNquDndEaximo FMgiJY8ZGlfbbxtiQMjy0kImipdnSwbRJZEo8iEIebJXhH2ak4oIbnBRQWRJ1hRsLQYa y6yeMyaZwMnQ15d7waadnANkw/qf9zUFSEYOBLIcv6zF7ywQtimeQioIuIBGEqcpgPDy Ps15NHeauTbVdrqr4kzpkA7iJreJ4+yPLVtbLVXnEy2arpmn2cCNCD16z12L46fwp2v+ G6tt0ucQRVFUwKhOhR+IgAG3RqgUDVqKjVGWOqwi+9dZMCBARH0CgycGkxFP6NORMdxM cx/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=79tMagtsx8zWFd0gwV9uxN+xp9p3j086sCtxdA2GSnk=; fh=B1O3sqEy8hdPyN6cSTnuNvHVYJ1YldtVBJwOGB3Umqk=; b=XzobtesBiNxbnzVJxQX+eoxMt4iFTxDIKVzp7wZi4G8a8aXlnBr6R9jniu8/4vCaFl MjEJwyoF0lmgbGmnyNanQKkOJ88YU1JdFqi109j6QrmWHtiV3rjIsiViIQ0XiSp0fqvX ZKSUZZ07KyrKcT91JPiwFY9rfkozEYxEceEVltsLSXRSYUWH9EptYyWAaeJnP1XPHcky rmZA2P19mwU4lB05ZbXcDa4ESAx91xrQrxOao+/4LvnFtrMs8K4zXxnYOhqC04vWq6Mk 8PjK0u3DjQsBAtCtcembHNXyMyJi4XXBrIIhjVT5tZnkj5FkzKazBprfnvHpy4yZrTvS YXhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="I/Sz2oDN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id u14-20020a17090341ce00b001d09c96ba1esi9123926ple.452.2023.12.12.20.34.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 20:34:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="I/Sz2oDN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 267B280AD511; Tue, 12 Dec 2023 20:34:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378467AbjLMEeA (ORCPT + 99 others); Tue, 12 Dec 2023 23:34:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378460AbjLMEd7 (ORCPT ); Tue, 12 Dec 2023 23:33:59 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7DC7D3 for ; Tue, 12 Dec 2023 20:34:05 -0800 (PST) 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=79tMagtsx8zWFd0gwV9uxN+xp9p3j086sCtxdA2GSnk=; b=I/Sz2oDNDne/J3Ji69c3Zo++0B KaVvqGIpFlld6IZQUKri3eM55z3fDBI7pIu6MY+ThDmnnB0g9DKRArT29U/geony9NIVmoQFoYQVR jCdqwSlgc9lB1DkpjlmUM6i6zg4/5U9MgdCANbbKn2ZetvNdixgr+yTtr+sG4eO3PD2cuQqupFyTd qUS4U240hypNStCQURcd6lMRXGDOohyaYsYMHMUfDNpKVNJgcLfAWWdPqaoT6ez4me/xlKPW2Z/1y FKbcDKEUDegvjUpoUIuPI12CEsZU21jSnyi9cFrCUB7yvKB6Go2bXOzgJ/mF6mET0IoZN2pdqkuSx LK2djSEg==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rDGwf-00DaMf-2Q; Wed, 13 Dec 2023 04:34:05 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Thomas Zimmermann , dri-devel@lists.freedesktop.org Subject: [PATCH] iosys-map: fix typos Date: Tue, 12 Dec 2023 20:34:05 -0800 Message-ID: <20231213043405.10163-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 12 Dec 2023 20:34:14 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785139882410193576 X-GMAIL-MSGID: 1785139882410193576 Correct spellos/typos in comments. Signed-off-by: Randy Dunlap Cc: Thomas Zimmermann Cc: dri-devel@lists.freedesktop.org --- include/linux/iosys-map.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -- a/include/linux/iosys-map.h b/include/linux/iosys-map.h --- a/include/linux/iosys-map.h +++ b/include/linux/iosys-map.h @@ -34,7 +34,7 @@ * the same driver for allocation, read and write operations. * * Open-coding access to :c:type:`struct iosys_map ` is considered - * bad style. Rather then accessing its fields directly, use one of the provided + * bad style. Rather than accessing its fields directly, use one of the provided * helper functions, or implement your own. For example, instances of * :c:type:`struct iosys_map ` can be initialized statically with * IOSYS_MAP_INIT_VADDR(), or at runtime with iosys_map_set_vaddr(). These @@ -85,7 +85,7 @@ * if (iosys_map_is_equal(&sys_map, &io_map)) * // always false * - * A set up instance of struct iosys_map can be used to access or manipulate the + * A setup instance of struct iosys_map can be used to access or manipulate the * buffer memory. Depending on the location of the memory, the provided helpers * will pick the correct operations. Data can be copied into the memory with * iosys_map_memcpy_to(). The address can be manipulated with iosys_map_incr().