Message ID | 20221101161207.969265-1-j.neuschaefer@gmx.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp3065337wru; Tue, 1 Nov 2022 09:14:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6AN/N8CWB4oaMkaJxaW9R/wbDaSNk3/fyskni3fpNZyKMT1ZOk8c8aozun4sY5N8Ac6GXf X-Received: by 2002:a17:906:9be3:b0:7ad:d3a4:9df3 with SMTP id de35-20020a1709069be300b007add3a49df3mr10320810ejc.682.1667319278307; Tue, 01 Nov 2022 09:14:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667319278; cv=none; d=google.com; s=arc-20160816; b=ryLxWD030BHKALxsqUwUkzzykQ/rU837uYZznOJw7m6uWcDC8u+mUzU677aUKUSAAk g8wnr92INFMTE0z+A6WGbAfMvyAh9DDmnKc0K1R/YeDFCqLaZasT/+K6yOMjGhlEpo/y 122qyIbfScBAEVAW5R7w0iS4tAzBzquOTCW+d8J1//dlk7NB1itF8YmFjTM7LCRQrtND zL+DLKZ9dUPpej5QxmVOUEW54k2ODFb5BaMCWvrakP47Ik4dMkrT+Ct/ZCd9+4pXO90J nu9GY3Mra0Yl90RvCkvxNyUMwTHEwO7tJcif2gIvQJVoMAVzSE2k+wuvaDCJ0czLbdN0 7yAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=Bd7MQQoKbVFhT1r6CCOvdif4yk7mOlmFC4ltW+797fc=; b=h7spYAjZBu5t/NqFD4nu2iqF+6aZTInOAPz5OzmNaSHuRMqz27rWllajRu/XkAqHBC g3KY4+/8ctmixbSx2vQLbJOUEoohZ18jCDmkqmYMX+qVCpbrD1Gics1Kt7fb+90n8YDN AoXmwCRoAcqqmlnIBzdhwLAWFtxu3Myx7yX+lTAcSYydIcNkr4xwyOhkT1Mqm2tofYub lPFNt4bfql0BXqZKbTx+uSiEqxGkZZUEs67WkDoozyc5lQvLC0u0kIqGhQpmBDZq9fft bvvtf41+n3xuEfLnkJ7o0zKpIpZVV2/JYsuGnvySLrJEj3I/ygtu3+0K/Bx1ycohApdx eV4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b="l8y/QIZz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmx.net Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ji4-20020a170907980400b007ad2d85d753si13524504ejc.495.2022.11.01.09.14.10; Tue, 01 Nov 2022 09:14:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b="l8y/QIZz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmx.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229882AbiKAQMp (ORCPT <rfc822;kartikey406@gmail.com> + 99 others); Tue, 1 Nov 2022 12:12:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230116AbiKAQMj (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 1 Nov 2022 12:12:39 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6C3D1C436 for <linux-kernel@vger.kernel.org>; Tue, 1 Nov 2022 09:12:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1667319135; bh=q6GkPfpD7CLnsI3bfj3DoIrApGPxoN5WHLC2wxCj9zg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=l8y/QIZz0ikaShF/oooBKXObnJmjzUs3r5M6jjp+2KCLtYppXy0ycnCTgQyZVYYX+ MDfajdFndJm7bbIBEQW4Nymuj86pl52vC+ClrzcFSnrq7HCIC5vvlU79Upms0O1Qtb PZhyQD3msBA7HfF87yUw23ANmQmtKgcs6DyrRoIbbMn09bpV5c/1znoIvy886jcV/7 mzulwPZFzrktyZtA8iIJppzWiDetHmx2a/5r3mGyEOZaWMz2mwSi8ZRpPDvN15PRog 9ztdcAM3frMuR0SbdXVWMIoI/lFaazS9+XHC74frbg7T4HkIPFXisz+fdz15Nj68RK SAa0SAI9IhGYg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([78.34.126.36]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MowGU-1pOkBk3a5G-00qPw6; Tue, 01 Nov 2022 17:12:14 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= <j.neuschaefer@gmx.net> To: Yury Norov <yury.norov@gmail.com> Cc: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= <j.neuschaefer@gmx.net>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Rasmus Villemoes <linux@rasmusvillemoes.dk>, linux-kernel@vger.kernel.org Subject: [PATCH] bitmap: Fix a typo ("identify map") Date: Tue, 1 Nov 2022 17:12:07 +0100 Message-Id: <20221101161207.969265-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-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x8bVA00BXq3iX1CoALkeg6NKGr/q3vk6ktXKy9C/U tSKr2fadUG82D0pRmlxiTkPsilWC3VWspVKfVuuNnbHbH40GDya8IevO6p4ryuNhb1YMVRPe7 5Mx2hioBgTn/hoxSt8anD4/wXX86/6afHWeF22LAccsWvYBS2sKT3Rs2ZJPMrmuMlIS1I6MDo 3Lr9rc/rbR1cy7FCqUWQ7lvSXL0= X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748310979519743512?= X-GMAIL-MSGID: =?utf-8?q?1748310979519743512?= |
Series |
bitmap: Fix a typo ("identify map")
|
|
Commit Message
Jonathan Neuschäfer
Nov. 1, 2022, 4:12 p.m. UTC
A map in which each element is mapped to itself is called an "identity
map".
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
lib/bitmap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
2.35.1
Comments
On Tue, Nov 01, 2022 at 05:12:07PM +0100, Jonathan Neuschäfer wrote: > A map in which each element is mapped to itself is called an "identity > map". Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> > --- > lib/bitmap.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/bitmap.c b/lib/bitmap.c > index 1c81413c51f86..b0f234bc1ce84 100644 > --- a/lib/bitmap.c > +++ b/lib/bitmap.c > @@ -988,7 +988,7 @@ static int bitmap_pos_to_ord(const unsigned long *buf, unsigned int pos, unsigne > * to @dst. > * > * The positions of unset bits in @old are mapped to themselves > - * (the identify map). > + * (the identity map). > * > * Apply the above specified mapping to @src, placing the result in > * @dst, clearing any bits previously set in @dst. > @@ -1037,7 +1037,7 @@ EXPORT_SYMBOL(bitmap_remap); > * the position of the m-th set bit in @new, where m == n % w. > * > * The positions of unset bits in @old are mapped to themselves > - * (the identify map). > + * (the identity map). > * > * Apply the above specified mapping to bit position @oldbit, returning > * the new bit position. > -- > 2.35.1 >
diff --git a/lib/bitmap.c b/lib/bitmap.c index 1c81413c51f86..b0f234bc1ce84 100644 --- a/lib/bitmap.c +++ b/lib/bitmap.c @@ -988,7 +988,7 @@ static int bitmap_pos_to_ord(const unsigned long *buf, unsigned int pos, unsigne * to @dst. * * The positions of unset bits in @old are mapped to themselves - * (the identify map). + * (the identity map). * * Apply the above specified mapping to @src, placing the result in * @dst, clearing any bits previously set in @dst. @@ -1037,7 +1037,7 @@ EXPORT_SYMBOL(bitmap_remap); * the position of the m-th set bit in @new, where m == n % w. * * The positions of unset bits in @old are mapped to themselves - * (the identify map). + * (the identity map). * * Apply the above specified mapping to bit position @oldbit, returning * the new bit position.