From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailscanner08.zoner.fi (mailscanner08.zoner.fi [5.44.246.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DBAC579CD for ; Sun, 22 Feb 2026 18:01:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.44.246.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771783296; cv=none; b=IlXOqZhARXjqUll9mUKgNdADQCS1mOiDwSAlHEsJR6kMSZnYjzo+2wJPXnHd5UJi6B+37kWrJJs3Zm86+wpdvu6YP4pzdpIhQMdGvQuMBLDdwj3kIvuaiBD6lNN6x5u96IId4wt7Clsb5+H7+6geuE5cKrCvwGcT4MdKls3GUxg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771783296; c=relaxed/simple; bh=kNX7ZTwyPTdH48ha/e4KoLaGt91V6AdHeNouGYZJO4g=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RFX6mWFvSkZfJPpVYnzyLZocpqVsZZ6L+jdSdNPDzVKfhVd8MA5CgRHGBnSfSrRUhHapD+3ois98G1jLYrC0Y0PtZTdwBuIU+bPqRe4P4P4HTRSphuQyOCCkd11D4tTdSOVmqPQAJypo6tifHWDrPykUx6dULyWxe3Xd+73YXpA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tukaani.org; spf=pass smtp.mailfrom=tukaani.org; dkim=pass (2048-bit key) header.d=tukaani.org header.i=@tukaani.org header.b=ZiXwBX36; arc=none smtp.client-ip=5.44.246.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tukaani.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tukaani.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tukaani.org header.i=@tukaani.org header.b="ZiXwBX36" Received: from www25.zoner.fi (www25.zoner.fi [84.34.147.45]) by mailscanner08.zoner.fi (Postfix) with ESMTPS id 05BB020D4C; Sun, 22 Feb 2026 19:51:30 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tukaani.org ; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID: Content-Description; bh=Re4U091F7zbqIwmCdVOoC1L1PqzzJfz0uKMxjSKOw1M=; b=ZiXwB X36HdrgBCDuh3aC+e6MMJHhSDoKWW87JvQF6OrajTSAqrZuhapRtajds2FU3VgH4HHuf1J/iskD3G ErvrGBvjuYS5aIxPgjsVWiiKD6ENnpC45XPBjn5lJ+JOgnXd1A1u6gp8dxh+PEnGxJTi3n/VM2LSi Lni61TDxo3oxtDvOhLDvor9t3mg4mCN+UAQ4ecx4MX9HBRDqb5cvji9eZBDzyDBlrOa32ODHqwPPa r0AKBRAum3mG6EXAEmzVY2wfVTj8Pq5JXqVPoSQyX8NaH57WzAKvNSYBK8Jm4aYsHSSJG17tPFi/9 +LCunS2yrye6AtsQSGz3FixedfsXw==; Received: from mail.zoner.fi ([84.34.147.244]) by www25.zoner.fi with esmtp (Exim 4.99.1) (envelope-from ) id 1vuDcB-000000071bH-10D9; Sun, 22 Feb 2026 19:51:29 +0200 Date: Sun, 22 Feb 2026 19:51:29 +0200 From: Lasse Collin To: Haiyue Wang Cc: linux-kernel@vger.kernel.org, Kees Cook , Andrew Morton Subject: Re: [PATCH v1] xz: fix arm fdt compile error for kmalloc replacement Message-ID: <20260222195129.53a0c866.lasse.collin@tukaani.org> In-Reply-To: <20260222121107.116775-1-haiyuewa@163.com> References: <20260222121107.116775-1-haiyuewa@163.com> X-Mailer: Claws Mail 4.3.1 (GTK 3.24.51; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On 2026-02-22 Haiyue Wang wrote: > Align to the commit bf4afc53b77a ("Convert 'alloc_obj' family to use > the new default GFP_KERNEL argument") update the 'kmalloc_obj' > declaration for userspace to fix below comiple error: The patch looks good. Without it, XZ-compressed kernel wouldn't build on a few archs. The commit message could be clearer about this. Suggestion: ---- xz: Fix the preboot code to match the kmalloc_obj change kmalloc was replaced with kmalloc_obj in lib/xz. Make the same change also in the preboot code to fix building of XZ-compressed kernel on a few archs. For example, on ARM: Fixes: 69050f8d6d07 ("treewide: Replace kmalloc with kmalloc_obj for non-scalar types") ---- Thanks! Acked-by: Lasse Collin -- Lasse Collin