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: 631142 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B8D4C4708D for ; Sun, 4 Dec 2022 23:49:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230501AbiLDXtD (ORCPT ); Sun, 4 Dec 2022 18:49:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230500AbiLDXtC (ORCPT ); Sun, 4 Dec 2022 18:49:02 -0500 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCB0C12770; Sun, 4 Dec 2022 15:49:00 -0800 (PST) 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 Cc: Linux Crypto List , Michael Ellerman , PowerPC , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the crypto tree Message-ID: <20221205104857.2dab1586@canb.auug.org.au> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org 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 /*