Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1054412imu; Wed, 9 Jan 2019 10:46:07 -0800 (PST) X-Google-Smtp-Source: ALg8bN6K37bypfFNcYDYPS9OD20wk8LA9/mR3PsUe0wgaXdTTiEXXfWvvHoFHCpI9xVKfU4b0oD9 X-Received: by 2002:a17:902:9a98:: with SMTP id w24mr7172468plp.213.1547059567221; Wed, 09 Jan 2019 10:46:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547059567; cv=none; d=google.com; s=arc-20160816; b=HgxAZc0ovuxXeBPo8eUGA78lR8XdUPRm7ZYkJVzQUrDs4NAjEYOHrmw6PBkYy12Nf/ k+Em0p7+ZwiqQQptyo5TQq8fKdOqWJQYXysMvvWT2zs41pOZJ6k8ceHTtw6jBB0AEYdt GHmQyDYUYsF6cn5CSDVx7DS8TP0XHlqdFJz7MHC3viayzQJkQO9+++b+B56nISNGt/jO Zi8s6w9lhepanX/JOseUexp+UX0OZ5BTw35m5QpvxV35C4FV0xuQMhsZbnoS++uEKZvx fmjQLnKA5Y+Lp99+ha7wt2mza8d4ujjNxx36zBwdTNJvGyulsfi3B7C1qLLebLyXQAe/ Ny+Q== 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 :references:in-reply-to:message-id:subject:cc:to:from:date; bh=ROXHMkgkiNhEFk19sxyDA4ey7uVA5/aiqeA7mJMc77M=; b=HjBSbHcgCGiphLkXvQ79uqTkK7BacFGMRfXQL1TJyMO0iFo9NxBwsTbRjBspiHCGUT UjYSw/D1QVROCM7ALa/64SXtcywmh+Z0aK6ygFlLjJdxThHfiTbGt7nVESwTbAcxFzm5 wYECoLxFR2wlD5NU4EG2ExmkPOao7Pk+hCDGS2+ei/SUAXYxUuvbc1KVsf6ouaTxpNuq rRAQBnoA8we49NUlRfMq5xnpeOmuHSWVxv209ZSeyV6zVpuNgb4a8nG3xaR2cCcI5zex okZnUAQ61s4eQwgLv17aianFrOpxMkPoKE8CbdR4lsMw5r+MjWg02F1T4r2HdCqRgMcj PSYQ== 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 t23si8942146pgi.181.2019.01.09.10.45.51; Wed, 09 Jan 2019 10:46:07 -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; 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 S1727684AbfAISmN (ORCPT + 99 others); Wed, 9 Jan 2019 13:42:13 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:41740 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726465AbfAISmM (ORCPT ); Wed, 9 Jan 2019 13:42:12 -0500 Received: from akpm3.svl.corp.google.com (unknown [104.133.8.65]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 114F4BF9; Wed, 9 Jan 2019 18:42:12 +0000 (UTC) Date: Wed, 9 Jan 2019 10:42:11 -0800 From: Andrew Morton To: Souptick Joarder 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 Subject: Re: [PATCH v2] x86/mm/fault.c: Convert to use vm_fault_t Message-Id: <20190109104211.ce93b844df26c340100cfa14@linux-foundation.org> In-Reply-To: <20190109183742.GA24326@jordon-HP-15-Notebook-PC> References: <20190109183742.GA24326@jordon-HP-15-Notebook-PC> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Jan 2019 00:07:42 +0530 Souptick Joarder wrote: > Convert to use vm_fault_t type for last argument of do_sigbus(). > > kbuild reported a warning during testing of final vm_fault_t patch > integrated in mm tree. Please be more specific when identifying patches. > [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] > > https://github.com/0day-ci/linux/commits/Souptick-Joarder/ > mm-Create-the-new-vm_fault_t-type/20190109-154216 > > All warnings: > > arch/x86/mm/fault.c:1051:39: warning: restricted vm_fault_t degrades to integer > arch/x86/mm/fault.c:1057:29: warning: restricted vm_fault_t degrades to integer > arch/x86/mm/fault.c:1059:29: warning: restricted vm_fault_t degrades to integer > arch/x86/mm/fault.c:1094:62: warning: incorrect type in argument 4 (different base types) > arch/x86/mm/fault.c:1094:62: expected unsigned int fault > arch/x86/mm/fault.c:1094:62: got restricted vm_fault_t [usertype] fault > > This patch has fixed the warnings. > I'll be folding this into "mm: Create the new vm_fault_t type".