Received: by 10.213.65.68 with SMTP id h4csp1150930imn; Wed, 14 Mar 2018 11:04:21 -0700 (PDT) X-Google-Smtp-Source: AG47ELueEyd3qCoZLUeQ3LswBwkZTErgB65OlCLmOAHAAAI0niHMD6EOInyTYiJdx61/oKD/AKe5 X-Received: by 2002:a17:902:24c:: with SMTP id 70-v6mr4917068plc.384.1521050661238; Wed, 14 Mar 2018 11:04:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521050661; cv=none; d=google.com; s=arc-20160816; b=jpsucruc0gf95PT1n+Los1DubHrzgE91v4zerzeclhqZupxklrzGIkgmKFFFyaUlAn vxcpL8H+lWKQ/cZBBdllHzIFdLZU46ollndaM0crlKDaQvFzgBaso7Z8okJ7EAgPA1uX j986DhUI197J/KCeBJiSnGdOZE76/hHTtpZ2dP6ePhFF7g2eFWzaDDkLktVbKiDtQtTl +3QJcoHXDLjUFclDf4iVM/uVUHYDQPe7PuITzThEEJajyrizd3CGhIuqKgOtoWc7JgBT B15q5GrPhLBIrDFXPP82PFN2+xDjCJy7MJx6GmzzmYTKTLt8ZR9RQeBd0mVvVdY5XTM1 MfgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=ymIt/1k9c5PM0eEdFEbBZqLy3upu1BaGjP+mGdZzTYY=; b=mrxhP2tyMmsnmx6KA2IQ8pYb333L0348yZE2B8UCGftY1IIplyKmrHuaZib+5l2uC8 6saI+DONEGNU9uAzjaIMpyhk7WRdV4Cy4/f21n7kKW3TpaRht7MBJ3fpxrA/VWo3ZVyk b/6ejk3fDVUL22BdscCPM/7biGwb4e+FL+KYrrFek3yBzfZKUREKGRM4wMpdARmy53ui yJGLJ+sKFW3bdjEIpNqJiVa42yZSKsv26bYUiLVRk0H9fPynV2cYz+7PnZJ43SU+2hDA DeIRkHSZwh8AC3QoLZEnOZXGbxzSnyKJRcYTPhxpyc4T8amgbxWSktXG+10lJPG5dB3c u8NQ== 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 e26si2397104pfi.171.2018.03.14.11.04.06; Wed, 14 Mar 2018 11:04:21 -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 S1751964AbeCNSCq (ORCPT + 99 others); Wed, 14 Mar 2018 14:02:46 -0400 Received: from mail.skyhub.de ([5.9.137.197]:37206 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751000AbeCNSCp (ORCPT ); Wed, 14 Mar 2018 14:02:45 -0400 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id CDbsmnAmQ8Uc; Wed, 14 Mar 2018 19:02:28 +0100 (CET) Received: from pd.tnic (p200300EC2BC98E000DB0D181F40EDD09.dip0.t-ipconnect.de [IPv6:2003:ec:2bc9:8e00:db0:d181:f40e:dd09]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 3620D1EC05F5; Wed, 14 Mar 2018 19:02:28 +0100 (CET) Date: Wed, 14 Mar 2018 19:02:09 +0100 From: Borislav Petkov To: "Maciej S. Szmigiero" Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 4/9] x86/microcode/AMD: automatically compute the PATCH_MAX_SIZE macro Message-ID: <20180314180209.GH16605@pd.tnic> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 13, 2018 at 10:06:48PM +0100, Maciej S. Szmigiero wrote: > +/* Maximum of all the above families */ > +#define PATCH_MAX_SIZE SIMPLE_MAX3(F1XH_MPB_MAX_SIZE, F14H_MPB_MAX_SIZE, \ Nope, it should be #define PATCH_MAX_SIZE (max_t(unsigned int, FXXH... -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.