Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp229957iof; Mon, 6 Jun 2022 02:10:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3t8Cpt/mWsiiMIarXmeh8sPG9F/zWcGx5O9u843o8fqn5IHu+njuHSkYTOfOqjpitjdp8 X-Received: by 2002:a63:b1d:0:b0:3fc:2a21:9e19 with SMTP id 29-20020a630b1d000000b003fc2a219e19mr20815450pgl.342.1654506617906; Mon, 06 Jun 2022 02:10:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654506617; cv=none; d=google.com; s=arc-20160816; b=JMhg0WxQVO0FRw8PjpgwccaaeXzlfVSJlJfMJCUeJ8Ztk4uX6bjYUMtJZb6dfvOV9l bVAnhlsHBPv6xEhneY5TbeQrFxLXu79bulWxYAtGItPBdI05OK+H3qLAifelgy6upf9T 8NAmtogMiVgR3r1aXD45hdlPrJD9DsruYMom/QNvyLgCYgkuRfcPLopEuU9I36iBRLRE 2oFP9Wx/h1atwDg7y00JCG8e+ceNqWMFnMSHIYEzErbbJrlfaXuJSKQfDsXgl9jvWbwV 5ZwMlROs/4ONsnVDb42zWWphWdcvYNBdgfQ7WZZofzGr3oWs7lY16ZQ+4/878OQX6f+E I9Yw== 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=ypMuOqTgTs5fR/SVFA8vgdnkIg+2FoxNQIZyHecvz0A=; b=0L/mjWWXiDo/dsncWJ7wICxBPogcK5XBQn8BSOz49tvo/ghUeEe2pdBVXR1iMPo7W/ S+YWnK6Woom2T51cg+8REpSZR/TzNc6ASdSFWuGjcC83PkT0P2Y2OaGAD0nlDFp0Cuhg 9fsEiYte2mA6Htzistlw/jCXN7CQZGD558P9b+C3AUeTL5eScb3iByIdvMlUIO2yVaT9 n+B3stk9JKXiyC9eMYWSL6OZoPO29QzoJ1182BrMtLT70i0h76mcIwF3CQXDQ6KYWwhJ V8eKDfexrBqo2g5rAzHVRSczACHjbZL5AyU7Tn50VGKgkA1exhzJat1pW3U2giiiThPA MBGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UwWC42Ps; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id gm1-20020a17090b100100b001e31dce0eb8si18153904pjb.62.2022.06.06.02.10.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 02:10:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UwWC42Ps; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 17DBF15647F; Mon, 6 Jun 2022 01:44:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232663AbiFFImd (ORCPT + 99 others); Mon, 6 Jun 2022 04:42:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232395AbiFFIjg (ORCPT ); Mon, 6 Jun 2022 04:39:36 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6B25B340E5 for ; Mon, 6 Jun 2022 01:39:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654504768; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ypMuOqTgTs5fR/SVFA8vgdnkIg+2FoxNQIZyHecvz0A=; b=UwWC42Ps8QgY4nZ9/faUqAnN1J4igVH8yehlS7M0zw/HKq8OXnMvVpbr79xdoBIrf3WmMD WrIENIv1QhrJE4Slci/yED1KTzbDJ43baoWTWInt47Yi7wmrXwI8fQBi8lyKTMBPzBunlL S+2Eb9+q36I57Y60fpZYY/QIHXzuzo4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-35-qbNHrptDO92AJQPUiBeNlw-1; Mon, 06 Jun 2022 04:39:25 -0400 X-MC-Unique: qbNHrptDO92AJQPUiBeNlw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5C3D9800882; Mon, 6 Jun 2022 08:39:25 +0000 (UTC) Received: from MiWiFi-R3L-srv.redhat.com (ovpn-14-4.pek2.redhat.com [10.72.14.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1E2D71121314; Mon, 6 Jun 2022 08:39:21 +0000 (UTC) From: Baoquan He To: akpm@linux-foundation.org Cc: npiggin@gmail.com, urezki@gmail.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Baoquan He Subject: [PATCH 0/5] Cleanup patches of vmalloc Date: Mon, 6 Jun 2022 16:39:04 +0800 Message-Id: <20220606083909.363350-1-bhe@redhat.com> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some cleanup patches found when reading vmalloc code. Built kernel and run on x86_64 machine. Baoquan He (5): mm/vmalloc: remove the unnecessary type check mm/vmalloc: remove the redundant boundary check mm/vmalloc: fix typo in local variable name mm/vmalloc: Add code comment for find_vmap_area_exceed_addr() mm: ioremap: rename ioremap_page_range() to ioremap_range() Documentation/ia64/aliasing.rst | 2 +- arch/alpha/kernel/proto.h | 2 +- arch/arc/mm/ioremap.c | 2 +- arch/arm/mm/ioremap.c | 6 +++--- arch/arm64/mm/ioremap.c | 2 +- arch/hexagon/mm/ioremap.c | 2 +- arch/ia64/mm/ioremap.c | 2 +- arch/mips/loongson64/init.c | 2 +- arch/mips/mm/ioremap.c | 2 +- arch/openrisc/mm/ioremap.c | 2 +- arch/parisc/mm/ioremap.c | 2 +- arch/powerpc/kernel/isa-bridge.c | 2 +- arch/powerpc/kernel/pci_64.c | 2 +- arch/powerpc/mm/ioremap.c | 2 +- arch/s390/pci/pci.c | 2 +- arch/sh/kernel/cpu/sh4/sq.c | 2 +- arch/sh/mm/ioremap.c | 2 +- arch/x86/mm/ioremap.c | 2 +- arch/xtensa/mm/ioremap.c | 2 +- drivers/pci/pci.c | 2 +- include/linux/io.h | 4 ++-- mm/ioremap.c | 2 +- mm/vmalloc.c | 27 ++++++++++++--------------- 23 files changed, 37 insertions(+), 40 deletions(-) -- 2.34.1