Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp920971imu; Wed, 9 Jan 2019 08:32:17 -0800 (PST) X-Google-Smtp-Source: ALg8bN5SLMUozNHrVGlBdiliXqI2KiNkb1EF01Llow9+noEvsLt+eTiMY/TnsPrZ5V0JZmw/u/+K X-Received: by 2002:a62:1289:: with SMTP id 9mr6699808pfs.102.1547051537800; Wed, 09 Jan 2019 08:32:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547051537; cv=none; d=google.com; s=arc-20160816; b=M9VOrfa1Dof7SW0mZcZa4axQqI12d8Y+pV4MkTKJoZ28VDuoxWqfMf6mLbTsXD5r8c ucnGAVjmbbfsgumV4cLLIQF77grcBMRdq8SkgNIiD1XZrSKAGVypheJUSQuTYFK0tVet 4meIod3BTdhelJPL5DRJ1Rxim+LXOpaS+XZbwTBYt1xwi3vYweaIsC9O25kCWbWayN7p 281uj3bb0qhCogk+oG1wxUAM2qqJnWGe2gV5ymbs+mGDi4orLblPhOGR3NBDY7Q13dml DQszAZAVe7sXWhlM0CO3M3CNTyLqQN/wJ9gf2yqyvgwseZEjsq4c7m1vKsTChE0rKwxD lsGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=ARKDrisAl1k2U6UTgEe1li3yvO/6nZYU2CZsSYeoKBE=; b=zQT/heI1DJNzerNeQ23HRp31h6KN6aoAyXNrfZoAZt2I8VVM6X7bQC1/eOKvtrfBiq Ej55rpBXdQmGNAdJ4zO9ewhSz2JRIVbAeDwjwHq62+o6nkpVooVdf4In6TO2K/gpD1Js YwjxlQ2tfo5iNZEVbl1tJDT68T+a7zrlkrrPo9U4myz7nJ/5FVjwkLMt6/xnaq1WJyh/ 1pHS5893zs6yzY4AgPRQy2rRT04HIt4thC5gmldL3J0xXGQBvzyIIL3eOUCifTtvirtf +knJ3oL6LaLBdpc6odsoMNkwUK43QDyUz8B4/na5b50fd0sFrS279sCH3A5o1K7lQPDi wI7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fSJ5+BwM; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64si67602367ply.372.2019.01.09.08.32.02; Wed, 09 Jan 2019 08:32:17 -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=@gmail.com header.s=20161025 header.b=fSJ5+BwM; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732232AbfAIPSL (ORCPT + 99 others); Wed, 9 Jan 2019 10:18:11 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:40153 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730725AbfAIPSL (ORCPT ); Wed, 9 Jan 2019 10:18:11 -0500 Received: by mail-pg1-f193.google.com with SMTP id z10so3441091pgp.7 for ; Wed, 09 Jan 2019 07:18:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=ARKDrisAl1k2U6UTgEe1li3yvO/6nZYU2CZsSYeoKBE=; b=fSJ5+BwMdvK3r+larLGPN3N2I3Jb6pS0Zrn/RUSP2a8owLWje1Up/OOCr8Vkp2ZOkq JRy7ETQC9h/tnvM3A22qMCwSkP71qdoppFxSVd2YBQk3DL7pTIoxmIP90IItgmmNwRT+ rNaxej/7Csv4lIepkV3mL9i5D/rov/CTRvPYPSwktx2De8TpqO+IRuU2tsi7qwu6iVPW ITEEFL8oHIpJza89z2GKpw4/DJT5Wf6eCrl0NsWgzqMWz7z8+LHea7x98Q/8+VvS698X NYL9cI+Thwq0/XIKqQK3G2NoAu8gHv4CRmKCcFaiygMKkq5CZ9dUWS0xvlEdRgHM2zd7 2lKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=ARKDrisAl1k2U6UTgEe1li3yvO/6nZYU2CZsSYeoKBE=; b=Oq24A/Z20/8xmoA1FH50SD+IRtH6qlpAMTXCDPKP/Bad3LH7JcUFuuHJOdvnoJVSOI jW39mqGJYO8AytA/HNRuhyvlLBjpaC91YYA0RU1pvFolVb+UXK0zSOUM7cZ44K9BYMkS KxLG0w9P+RZDJnwMPQiQ47/Zy+/l2DfOnq7CfRf4hyzd4sYnXeQL5ayjooCG6BQa6Yx6 PVBuB0oBPa1nMy0rkWLP0npqBQ7ZFC7XRNGHajudtNtF2dHP+FyzoUWGMSKBjSur8M/0 ZcGoA7oZtLWf2iWKDCpDMKJz6YqExZyPQiXLE+CN4gsrcztW51wrN6/a5KKkhk4fkLnA NEPg== X-Gm-Message-State: AJcUukdc3ikuwhXrgTrb1x8rydbHJakSE22Kqp2BlGP3BNDB9tRM5+dV vZla4scSnbg0aU8HDbIZ9Zg= X-Received: by 2002:a62:3305:: with SMTP id z5mr6466446pfz.112.1547047090744; Wed, 09 Jan 2019 07:18:10 -0800 (PST) Received: from jordon-HP-15-Notebook-PC ([49.207.49.233]) by smtp.gmail.com with ESMTPSA id s2sm140054951pfa.167.2019.01.09.07.18.09 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Jan 2019 07:18:09 -0800 (PST) Date: Wed, 9 Jan 2019 20:52:09 +0530 From: Souptick Joarder To: akpm@linux-foundation.org Cc: dave.hansen@linux.intel.com, luto@kernel.org, peterz@infradead.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, x86@kernel.org, linux-kernel@vger.kernel.org, willy@infradead.org, ak@linux.intel.com Subject: [PATCH] x86/mm/fault.c: Convert to use vm_fault_t Message-ID: <20190109152209.GA13599@jordon-HP-15-Notebook-PC> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert to use vm_fault_t type for last argument of do_sigbus(). Signed-off-by: Souptick Joarder --- arch/x86/mm/fault.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index 2ff25ad..dea3725 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c @@ -1031,7 +1031,7 @@ static inline bool bad_area_access_from_pkeys(unsigned long error_code, static void do_sigbus(struct pt_regs *regs, unsigned long error_code, unsigned long address, - unsigned int fault) + vm_fault_t fault) { struct task_struct *tsk = current; -- 1.9.1