From patchwork Sun Dec 4 23:48:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Rothwell X-Patchwork-Id: 1712110 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.a=rsa-sha256 header.s=201702 header.b=piaUmGfI; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NQNgk53cHz23np for ; Mon, 5 Dec 2022 10:49:22 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4NQNgj0Tkqz3bcT for ; Mon, 5 Dec 2022 10:49:21 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.a=rsa-sha256 header.s=201702 header.b=piaUmGfI; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4NQNgM4Z4Cz3bTH for ; Mon, 5 Dec 2022 10:49:03 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.a=rsa-sha256 header.s=201702 header.b=piaUmGfI; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4NQNgG6tqhz4x1V; Mon, 5 Dec 2022 10:48:58 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1670197739; bh=+vB27jZCm23Y1/9SyViZVWCYwgmEVTcCkiUt2rzz33I=; h=Date:From:To:Cc:Subject:From; b=piaUmGfItMGzN64D+5zR5NjTZcU7+hDYmB9JvFiblO2UFNj8uDrYdazUxjxg/drnE wBhZXzNUgiIQc6OAQSLT7/utmPfdJMXqYASxAR8pMsHI+ORtTQ31BF57gQmt4eAFCC eHSjgAlp5H5k4oPAe3o/RWCgLD9CWkGgMLJXJVb5zkbCgJQgiZCa/zOsgdla5btO0d I+xed926xeiNM3A6rZ+FshV6lP1mCaKLShJubdOd1EBwo1V8fdrQbXfFUAyCao+x0M GWq9Oc60AvdWVoyzNDKnIs3nY16KNyTr4ZWife7aXfrwwbG2X4vGRcE8GXeErEZ2JW BTr45ubGdvvaw== Date: Mon, 5 Dec 2022 10:48:57 +1100 From: Stephen Rothwell To: Herbert Xu Subject: linux-next: build failure after merge of the crypto tree Message-ID: <20221205104857.2dab1586@canb.auug.org.au> MIME-Version: 1.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux Next Mailing List , PowerPC , Linux Crypto List , Linux Kernel Mailing List Errors-To: linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Hi all, After merging the crypto tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: In file included from include/crypto/algapi.h:10, from include/crypto/internal/hash.h:11, from arch/powerpc/crypto/sha1.c:15: arch/powerpc/include/asm/cache.h:40:9: error: unknown type name 'u32' 40 | u32 size; | ^~~ arch/powerpc/include/asm/cache.h:41:9: error: unknown type name 'u32' 41 | u32 line_size; | ^~~ (and so on ... lots of errors) Caused by commit e634ac4a8aaa ("crypto: api - Add crypto_tfm_ctx_dma") It could be (easily) argued that arch/powerpc/include/asm/cache.h should include linus/types.h, but it is also unusual to include an asm/... file before all the linux/... files. Anyway, I applied the following patch for today. From: Stephen Rothwell Date: Mon, 5 Dec 2022 10:42:57 +1100 Subject: [PATCH] fix up for "crypto: api - Add crypto_tfm_ctx_dma" Signed-off-by: Stephen Rothwell --- include/crypto/algapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h index 8722fd67f40a..fced47dbd306 100644 --- a/include/crypto/algapi.h +++ b/include/crypto/algapi.h @@ -7,13 +7,13 @@ #ifndef _CRYPTO_ALGAPI_H #define _CRYPTO_ALGAPI_H -#include #include #include #include #include #include +#include #include /*