Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp85454imm; Thu, 4 Oct 2018 18:38:00 -0700 (PDT) X-Google-Smtp-Source: ACcGV61xDYrj9sdf+hFGKJmqPZQPWj9rry60f48hEs9/BoR2wO5yM03pwz0dcqh/eGhYdNJ1aeag X-Received: by 2002:a62:7788:: with SMTP id s130-v6mr9415679pfc.189.1538703480620; Thu, 04 Oct 2018 18:38:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538703480; cv=none; d=google.com; s=arc-20160816; b=Qc2oWzScgnj+lsVI58T8Bh/cz8f+YpT//ivCdja76kk/wjP3iTfgC0MRIrlcGKiWOj juc+Ouk1g2xdpsKCFBXfJE93yd4qdUr0EqxHkJFasgjU038IkgzeQnPhsvM2oQ1esFM9 cADMz3L5csISUPPFxVeqGpebEoPkpVeDZ2bJpGJ56OSM/FW2InKq3pvH2bzOtv2GWsT2 J3tPApDCmhjOgofJS5riWI80/E/U6OhQtZrwFtfLGnqcAayGZmGhq3NeIwj/A0buQGlJ hxGpg7D2gM97EEhfYMPVJv7/uswJdZyQAnGKe/JA7svVC8qOSGaNGuUDQYUIJHhX+L3y vS3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=hPymNKO4Lsw4csVE8Cf8zYub0iUFNK9C1a1xD/bYKQE=; b=M3r4YF6YuIe/j3BkD0EXmwO5Od0Jd9H8N3EDm4dBhoKN4YU2XNCMnhGNTH07U/54iQ mgsfIMMB/3DuBLf2Kcl60q75SoFz6Cl/dh2yKEYtELnyU6MCDLZGoMq6ehf6otFNtR+V hDkkAAflCfJwfQ+ESC+XGT0Nk9stv0IN4gOpRprud973z9bTYl6ZFpfV/uQgYzPnbZ4Q mZvGOh4g3qE0K4jDWfKxuzRqeLO5Rasr6OdKICMoEl69VMHJeh9AhcXIt7W7eQ15/1kh 4gZgYc4jRQd0vgTx62hPbBVFMnLDA7VqRBg5/7d5Qyhaqy/NHX51N7yIUGnkstVxgZPf cZ3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g15-v6si7483176pli.239.2018.10.04.18.37.45; Thu, 04 Oct 2018 18:38:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727121AbeJEIdb (ORCPT + 99 others); Fri, 5 Oct 2018 04:33:31 -0400 Received: from ozlabs.org ([203.11.71.1]:33553 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726073AbeJEIdb (ORCPT ); Fri, 5 Oct 2018 04:33:31 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 42RC6W3bXgz9sB7; Fri, 5 Oct 2018 11:37:07 +1000 (AEST) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 242cdad873a75652f97c35aad61270581e0f3a2e In-Reply-To: <20180921025431.28366-1-joel@jms.id.au> To: Joel Stanley , Krzysztof Kozlowski , Greg Kroah-Hartman From: Michael Ellerman Cc: Herbert Xu , Meelis Roos , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: lib/xz: Put CRC32_POLY_LE in xz_private.h Message-Id: <42RC6W3bXgz9sB7@ozlabs.org> Date: Fri, 5 Oct 2018 11:37:07 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-09-21 at 02:54:31 UTC, Joel Stanley wrote: > This fixes a regression introduced by faa16bc404d72a5 ("lib: Use > existing define with polynomial"). > > The cleanup added a dependency on include/linux, which broke the PowerPC > boot wrapper/decompresser when KERNEL_XZ is enabled: > > BOOTCC arch/powerpc/boot/decompress.o > In file included from arch/powerpc/boot/../../../lib/decompress_unxz.c:233, > from arch/powerpc/boot/decompress.c:42: > arch/powerpc/boot/../../../lib/xz/xz_crc32.c:18:10: fatal error: > linux/crc32poly.h: No such file or directory > #include > ^~~~~~~~~~~~~~~~~~~ > > The powerpc decompresser is a hairy corner of the kernel. Even while building > a 64-bit kernel it needs to build a 32-bit binary and therefore avoid including > files from include/linux. > > This allows users of the xz library to avoid including headers from > 'include/linux/' while still achieving the cleanup of the magic number. > > Fixes: faa16bc404d72a5 ("lib: Use existing define with polynomial") > Reported-by: Meelis Roos > Reported-by: kbuild test robot > Suggested-by: Christophe LEROY > Signed-off-by: Joel Stanley > Tested-by: Meelis Roos Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/242cdad873a75652f97c35aad61270 cheers