Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1585769ybv; Thu, 20 Feb 2020 23:46:54 -0800 (PST) X-Google-Smtp-Source: APXvYqzoHhh4T+87U06S6oSq/Du/+jMule1UosAb21Dwx9PrstqDa9pdyLUrKxDpeFQQ5LfcQIMI X-Received: by 2002:aca:2b04:: with SMTP id i4mr913575oik.21.1582271214551; Thu, 20 Feb 2020 23:46:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582271214; cv=none; d=google.com; s=arc-20160816; b=yrXbWd9z+3B9HyM7H+W5+0LKDYfO60OCJkJkim4LdCx27tWtJd6ddKW2W9ta1KBcu9 xosNKdB48MF4dUXZPG4EOesfaPLktx94hJ3IZ+SiIdEDg+GnaSok0mY3+TmlIJqaCabw U8KVa6oS1g8Psf6XWT8InG2fng4DD69NoFuGkOXRmRyp13tUhtgUmLp9ZOFQR+fuJtI+ mgToqUph/CzwBel5dwN7afIMd+iUSyj3crg9vvTEVxn03zs4cu3gqDbRZAe8N97LPfjt hrldCn0wx3BZKrci5t1hJoLtOEk+2k+ew5wNg1XuR7Ok9HMCWo0tjqULTBTk7ozM26FN fVZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=JUB60u4WAwGeCyjAuyTXlSOiLkvixF/q6ClTuZymbZA=; b=Hpvsbgy0MUuRY4j16InVcNjQS9ljeDYoH2mxIfWptLtz0rVrrYLoonpVANOuj2l1gI AKr6MGwx7h5lvtPqlkKfZMg0VGRm4f0sIjpAHPCyWmgNzzEA91SwFykEnI1hz+tGSNKO p52LQeFLEscZIFy1xP75v+kJt4SzB41ceFCPXODSGwljrMRdbd0SzDA2qw6j+q59wFNP OkH5Jum8Vbm1Co2LVODPBmb2ALGADC8AD/YwSFNvMVzunOSLk5FLQYqDSo33LkF6qhhg P26hlf4859XfjNqW39I/2C2M6WJpz7zm3sL/I94qc0JjbQoLf4O+qZbHahUBzfvEXCto JMMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NW5oDmaQ; 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 p189si482112oic.134.2020.02.20.23.46.42; Thu, 20 Feb 2020 23:46:54 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=NW5oDmaQ; 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 S1728567AbgBUHp6 (ORCPT + 99 others); Fri, 21 Feb 2020 02:45:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:41278 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728554AbgBUHp5 (ORCPT ); Fri, 21 Feb 2020 02:45:57 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7AA84207FD; Fri, 21 Feb 2020 07:45:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582271157; bh=F1Trexx99c5lKvDtbQFpRyhfDrMxurBJs0BaHnCMNeE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NW5oDmaQ3GzXD9zmcfmLEM3pHw+eLrxWMo6F4oo9fuFSutGC0lR3sBMi1wTPW1Mpr Ggdvr9/3TTBR5S+ZhJz+YZKdC+WPPwerP3P7xPyXsI1JYO03XK++3fQlucij817pbT qsPd0DVsCDsilowODibBXV/K3m7jydILvsBY9/F4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Zhengyuan Liu , Song Liu , Sasha Levin Subject: [PATCH 5.5 060/399] raid6/test: fix a compilation error Date: Fri, 21 Feb 2020 08:36:25 +0100 Message-Id: <20200221072408.196824564@linuxfoundation.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200221072402.315346745@linuxfoundation.org> References: <20200221072402.315346745@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zhengyuan Liu [ Upstream commit 6b8651aac1dca6140dd7fb4c9fec2736ed3f6223 ] The compilation error is redeclaration showed as following: In file included from ../../../include/linux/limits.h:6, from /usr/include/x86_64-linux-gnu/bits/local_lim.h:38, from /usr/include/x86_64-linux-gnu/bits/posix1_lim.h:161, from /usr/include/limits.h:183, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from ../../../include/linux/raid/pq.h:30, from algos.c:14: ../../../include/linux/types.h:114:15: error: conflicting types for ‘int64_t’ typedef s64 int64_t; ^~~~~~~ In file included from /usr/include/stdint.h:34, from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9, from /usr/include/inttypes.h:27, from ../../../include/linux/raid/pq.h:29, from algos.c:14: /usr/include/x86_64-linux-gnu/bits/stdint-intn.h:27:19: note: previous \ declaration of ‘int64_t’ was here typedef __int64_t int64_t; Fixes: 54d50897d544 ("linux/kernel.h: split *_MAX and *_MIN macros into ") Signed-off-by: Zhengyuan Liu Signed-off-by: Song Liu Signed-off-by: Sasha Levin --- include/linux/raid/pq.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/raid/pq.h b/include/linux/raid/pq.h index 0832c9b66852e..0b6e7ad9cd2a8 100644 --- a/include/linux/raid/pq.h +++ b/include/linux/raid/pq.h @@ -27,7 +27,6 @@ extern const char raid6_empty_zero_page[PAGE_SIZE]; #include #include -#include #include #include #include -- 2.20.1