From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6BDCEC19776 for ; Wed, 26 Feb 2025 08:34:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=aO+V/qEXS/k6gXXkT9Is0p7I7bup2W/Wu27gCPXYzxo=; b=Z+RtsdxUFgFf/c hNK0+qn+Xj+xmmJwosEkFJ2KAn0rFOJm5AJ9V5PhrJcjZKkqSLN5cfarnc28eAASx5/M9s9LjufoT lLleCKZ3yVIWVbszarguiBi1xIFIzMd7xtO/rzinCiUvunQAfM16bbpZiuQn4U8BWbb76Q4hiZU8H lfkPACoJlj/1TZXJzmRkPDISyeNEIoq6KYpChAy3C5Wrts/W3qT/dttoStdUT+Ek6KkaBY+qJQn+l JSxq2ULOzf6HH6nBm/PYrUGzJe9kNOdaX2O3nEoARa+pFcllZfDJIWDMIteS630MH7TaDOtkn7K3n FM8eYS2o+sfD7SX6L3pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tnCrf-00000002u85-0aQ9; Wed, 26 Feb 2025 08:33:59 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tnCp2-00000002tNH-06mU; Wed, 26 Feb 2025 08:31:17 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 43D791C01; Wed, 26 Feb 2025 00:31:31 -0800 (PST) Received: from [10.57.78.248] (unknown [10.57.78.248]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D0D573F673; Wed, 26 Feb 2025 00:31:08 -0800 (PST) Message-ID: <2f4c6d8e-ecb4-42aa-8f42-3d386ac017f1@arm.com> Date: Wed, 26 Feb 2025 09:31:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/6] mm: pgtable: change pt parameter of tlb_remove_ptdesc() to struct ptdesc * To: Qi Zheng , peterz@infradead.org, riel@surriel.com, vishal.moola@gmail.com, david@redhat.com, jannh@google.com, hughd@google.com, willy@infradead.org, yuzhao@google.com, muchun.song@linux.dev, akpm@linux-foundation.org, will@kernel.org, aneesh.kumar@kernel.org, npiggin@gmail.com, arnd@arndb.de, dave.hansen@linux.intel.com, rppt@kernel.org, alexghiti@rivosinc.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-openrisc@vger.kernel.org, linux-sh@vger.kernel.org, linux-um@lists.infradead.org, x86@kernel.org, linux-riscv@lists.infradead.org References: <60bb44299cf2d731df6592e446e7f694054d0dbe.1740454179.git.zhengqi.arch@bytedance.com> Content-Language: en-GB From: Kevin Brodsky In-Reply-To: <60bb44299cf2d731df6592e446e7f694054d0dbe.1740454179.git.zhengqi.arch@bytedance.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250226_003116_126616_6DE73746 X-CRM114-Status: UNSURE ( 4.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On 25/02/2025 04:45, Qi Zheng wrote: > All callers of tlb_remove_ptdesc() pass it a pointer of struct ptdesc, so > let's change the pt parameter from void * to struct ptdesc * to perform > a type safety check. > > Signed-off-by: Qi Zheng > Originally-by: Peter Zijlstra (Intel) Reviewed-by: Kevin Brodsky _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv