Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1124416imu; Wed, 9 Jan 2019 12:05:51 -0800 (PST) X-Google-Smtp-Source: ALg8bN7OiD+W93w9c1s9piECgDf5neSCGQmARBxcMnfPQHbM2Mc3hxjMH814Svnhnym546K8JHYe X-Received: by 2002:a17:902:ac1:: with SMTP id 59mr7312521plp.36.1547064351689; Wed, 09 Jan 2019 12:05:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547064351; cv=none; d=google.com; s=arc-20160816; b=xMFYZpzyWrjpSUpB1LhUPs0WVDVxJQRdMtnAL5S6LAgALc0sv0Ei38tEYN/UP0K2Lz Sg6rO2l0m/WIYzgQgv8uFn7cAviPGsJFTpOvNKdqipP46XcmNDG7Yk3E861WTDgMsGEg nI5osTNz530188gkaIoLd2ybvkTdpSmAaksYQRxJ8rWCdbKXBmHhE5FOKRzPa6ukHRw7 TwwcKk3bvPBr3EQTFj4UbZFl6ZLlK8VWRkI7xYHqP1qd84x1o0ifn7hbonsuz/rH56ym LTznWZYlXTKN9PVnucXeRA7jtq6jOunJUTFpl3Yzr4x4OQcyCq2qrXsznWDQOT7dVYOW w/5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=gaOt2YPYx8I6ERYlSZZamEEQqXDJxdmbZ8uQFGMIFxQ=; b=XplSc8sR+BcsRSbuq+szAT93JufqafDgzQuHaXorED0LKf1AeB9TeeORnMMAEq13st db4ze0QGLa02P1sWl+hbwqcFEbGC0pFNruAG7uZTKWff/Jy6mNqd8H/ce6FAASfE6D62 BQ+/0aDct9JRj2HJ16Zp4fJUYSR0EgnUuMXwXho8P22zsGl6nkXKdppb6pjlv3vPwA9L P2RI3BpCxWtggUF0CdR9Uw73diAqmHAjArWOrq0n1bHfz8hbik19wsHKjFWHI9HCiom4 Qvv1wz+G/AH9FHC2dxwfkPSeTlfM3yi8EDBdc+20pjEQla1jCtXnNZVrjpJdud7L2lum S/rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dVp4PWdA; 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 v14si3880549pfc.76.2019.01.09.12.05.31; Wed, 09 Jan 2019 12:05:51 -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=dVp4PWdA; 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 S1732183AbfAIPTm (ORCPT + 99 others); Wed, 9 Jan 2019 10:19:42 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:38142 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730956AbfAIPTm (ORCPT ); Wed, 9 Jan 2019 10:19:42 -0500 Received: by mail-lf1-f67.google.com with SMTP id a8so5917621lfk.5 for ; Wed, 09 Jan 2019 07:19:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gaOt2YPYx8I6ERYlSZZamEEQqXDJxdmbZ8uQFGMIFxQ=; b=dVp4PWdAmOKFQ72bTn3URRj7OYUebk3xb0V2jOiVz8tKtQ85ZcG9PDV6qMbz2CbsEG am1oGpO2yyd/BpX8E6nAiO/QPVUyMnT03A5W5izMIvMoFchGmn6GniUzyck7/fDIB2wn 8z5bMZ+khSyTLi5PTKhI46EoTeyJ+aJt6W9aVwuhB/ZEW8rxVgCNZHjtl2dEBiP3XzR+ bYWwDluhxOS4+moHB534TMtxlpAxxqNp9H4XFrqflMsQYp34ju9aBpphVVi8h54YMqO3 UTLQzmxWLcTAocFFqVUqDfTPxI8vfaETVrc9/fbwNY50uDGgrD7g297IK5ap1sn8fAME JQKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gaOt2YPYx8I6ERYlSZZamEEQqXDJxdmbZ8uQFGMIFxQ=; b=eiIV19vUWf93Q4b7CMl4BZhjgIv5tMMLG/Bi+zq/Jq4JYyuAzhWgvkhl2fQWwYTZB1 bW+Mbffxfa7hW4HDaSA8j8agwOFRRNjRtXA/VmThoTsSJfc2q9WZRs9dpI4piRPm0wJn c5HzCyPfwiQ4gs9hqwRXVWCCcM2WGoENQQNJcAnvKXpd3iKLySyauvCFLoJimikmIRtu mxOkaHC0vmNViSaVf1CYG6Vcbu7E6VWQUtP/+R3ip2T28lgoMi2QzOBQb5UMw9y/EswS kB1derET7YvDvb6nC8lvoieY3U4OQsJI2aJgk5/Qsiqoe+iuc59v/1koEIwpi5EdA75V DS5w== X-Gm-Message-State: AJcUukfTpHSCnFe+UCyzcZndziQrqZ7d0wk7r4u6Eqq+ONgLeJ/aD3qh rgV1CHnajFq1doFCiZforVvsk/QaEX6tkm7SQJl5C1Ch X-Received: by 2002:a19:ee08:: with SMTP id g8mr3865390lfb.72.1547047180008; Wed, 09 Jan 2019 07:19:40 -0800 (PST) MIME-Version: 1.0 References: <20190109152209.GA13599@jordon-HP-15-Notebook-PC> In-Reply-To: <20190109152209.GA13599@jordon-HP-15-Notebook-PC> From: Souptick Joarder Date: Wed, 9 Jan 2019 20:53:31 +0530 Message-ID: Subject: Re: [PATCH] x86/mm/fault.c: Convert to use vm_fault_t To: Andrew Morton Cc: dave.hansen@linux.intel.com, luto@kernel.org, Peter Zijlstra , Thomas Gleixner , Ingo Molnar , bp@alien8.de, "H. Peter Anvin" , X86 ML , linux-kernel@vger.kernel.org, Matthew Wilcox , ak@linux.intel.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 9, 2019 at 8:48 PM Souptick Joarder wrote: > > Convert to use vm_fault_t type for last argument of do_sigbus(). > > Signed-off-by: Souptick Joarder kbuild reported a warning during testing of final vm_fault_t patch integrated in mm tree. [auto build test WARNING on linus/master] [also build test WARNING on v5.0-rc1 next-20190109] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Souptick-Joarder/mm-Create-the-new-vm_fault_t-type/20190109-154216 This patch has fixed the warning. > --- > 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 >