Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1800465pxa; Thu, 6 Aug 2020 16:43:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJsj9E+GDu2pVVgX3Br/AHzKY393W+IYx8UrsIXfn9h6TNEhIVDdfmECKmzbNnfCLM72gH X-Received: by 2002:a17:906:2b8e:: with SMTP id m14mr7079053ejg.249.1596757435889; Thu, 06 Aug 2020 16:43:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596757435; cv=none; d=google.com; s=arc-20160816; b=Z0iDszhK4/+L+zx/3t2CEzJ6AAd4MVLaKf+y1gUajhkBFpI9RF13mx6XJ2uoeeK7Z5 ZKlv3h0cYGt9rKwgr4Hwk+ryMcoVd1wsZ4PlZbulzp+lxDM0sSUay3Hi0xCEN6kaaHRj TBI3TEnPX4rmYQH4+2Ktg/NUFJQXn5HyD0kDm3Rz2ZSutLu18tPgILsRZ1PZRQ1faAVE g06SfFjmqZ5SO0EvT9j3rBQ+8FjSoX6AcRAbr2WyplZVWPt8+IGCCKKZxg61tvdjMDUI IUjUdiNcfDH1ZrrRDPyeaKRpMLRcxugCx+td/Sx9pkPhauVxLwT55KGjmyQqbJdoMrdE +Kdg== 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 :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:dkim-signature :dkim-signature:date; bh=D1XXp605aGxxr/0aEn98rrSVj5Uicg0XvYrQe16vMEY=; b=JWoSDDxyky1Kf7o/VGblsIEHiEbwxZaodqwtjfdzD/0wALNYU/sA0D8yD3hhd3XyxX kXBG0fd+KONu1jCm8SLT9/yl3vMhuAhj1AuqFtB8bwOaKhFwzvEAqjt+0MHxUEsR+U9e vpuJjn7ff4GI+9fXUMI5s87no+YjY5RKRdH+GLj9j4PQdR4zYF6P41EnrVKDe8FimKWp hDi3cupPr3WmavQvnwuBCBB1Ea5JBAz5ivFacmpMUHTurBRb1sKdzChhZe4HZEobK1dR LMzbLriGxb07oNqmGFHZhdrTJsTZDJqdaLAe04xJsYDCqur9YgEe6XTKgJdIe3AI5hhU UuYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linutronix.de header.s=2020 header.b=wRUDHkUm; dkim=neutral (no key) header.i=@vger.kernel.org; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ck8si4117233edb.82.2020.08.06.16.43.33; Thu, 06 Aug 2020 16:43:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@linutronix.de header.s=2020 header.b=wRUDHkUm; dkim=neutral (no key) header.i=@vger.kernel.org; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727103AbgHFXkR (ORCPT + 99 others); Thu, 6 Aug 2020 19:40:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726550AbgHFXiy (ORCPT ); Thu, 6 Aug 2020 19:38:54 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D94CC061574; Thu, 6 Aug 2020 16:38:54 -0700 (PDT) Date: Thu, 06 Aug 2020 23:38:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1596757133; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D1XXp605aGxxr/0aEn98rrSVj5Uicg0XvYrQe16vMEY=; b=wRUDHkUm5S0p6EhHc9O3P6C8+evO2O7X6R8UQTTyUPUVQd+0ghvWG+2C+g+NDrBfG83NBY R5O8P7BDuYNTPk+ynaB5y8mKz3ZRh+F4AEkBowENbAPs8JkxXZiWrrAcsL5zGvUHjI2hsW WqsU2A775Aes++f2JEQrEWjDZ+hz+2LVB+pnU08g+9QCN0r1WooCO4ffaPPmh6HDNitsS4 EKb74jM0WwcWAz318tIBXziQilucz+JyLGPhgGZ4RMrTcStGoQfqwhM5hhFdWZdse1FiyJ Fnecgpg97CyZdhXOXQGUpMlyasEtCVMuXiTecNMZX2oS9cK+m8PoSFSw0ztb7g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1596757133; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D1XXp605aGxxr/0aEn98rrSVj5Uicg0XvYrQe16vMEY=; b=9gsuhy92jOkdY/z8nYkzhItewmVw6AUgHkQv9qhP04wwBTAe+hIVuGg/l5DpZgSfWhZR/2 mOZXOeDZXR6F88AA== From: "tip-bot2 for Arvind Sankar" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/kaslr] x86/kaslr: Make minimum/image_size 'unsigned long' Cc: Arvind Sankar , Ingo Molnar , x86 , LKML In-Reply-To: <20200728225722.67457-19-nivedita@alum.mit.edu> References: <20200728225722.67457-19-nivedita@alum.mit.edu> MIME-Version: 1.0 Message-ID: <159675713240.3192.15831232343874338979.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/kaslr branch of tip: Commit-ID: e4cb955bf173474a61f56200610004aacc7a62ff Gitweb: https://git.kernel.org/tip/e4cb955bf173474a61f56200610004aacc7a62ff Author: Arvind Sankar AuthorDate: Tue, 28 Jul 2020 18:57:19 -04:00 Committer: Ingo Molnar CommitterDate: Fri, 31 Jul 2020 11:08:17 +02:00 x86/kaslr: Make minimum/image_size 'unsigned long' Change type of minimum/image_size arguments in process_mem_region to 'unsigned long'. These actually can never be above 4G (even on x86_64), and they're 'unsigned long' in every other function except this one. Signed-off-by: Arvind Sankar Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20200728225722.67457-19-nivedita@alum.mit.edu --- arch/x86/boot/compressed/kaslr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/boot/compressed/kaslr.c b/arch/x86/boot/compressed/kaslr.c index ecdf33d..3244f5b 100644 --- a/arch/x86/boot/compressed/kaslr.c +++ b/arch/x86/boot/compressed/kaslr.c @@ -649,8 +649,8 @@ static void __process_mem_region(struct mem_vector *entry, } static bool process_mem_region(struct mem_vector *region, - unsigned long long minimum, - unsigned long long image_size) + unsigned long minimum, + unsigned long image_size) { int i; /*