Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1253350imm; Wed, 13 Jun 2018 16:24:37 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJvTiC/QR9A6w4N2iV/P2pHLh3v46CDUMln5nWkTod005Hayqf7YWlGYEfug2mGyNCt/6h8 X-Received: by 2002:a63:8f0d:: with SMTP id n13-v6mr169392pgd.109.1528932277788; Wed, 13 Jun 2018 16:24:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528932277; cv=none; d=google.com; s=arc-20160816; b=mBpoBRVsyMTc0fLagy1b4Dx2uM6NoJBK66gY2/qKtQkjE1dwIS2jsLAP4W+wtGrgF7 AYrRGsztxgp6r7PqPKWwOaXm0xZqNPVJCTXDqjhYXFUAfiHj39/ISz177nnaVcgEZsjA gyH/b9qYO6w1g+bA20DZggd/k6LdiYUZiYWLXYBd543Fcj016KPkTrbDGj86HAF9Tsw3 Mp8sK71rQHJhu2F4hOYugJPTchPbvHNTRefzTXqd9eXZDMypu5a1wgn4k9mKlr/Fk412 JJZUbl7iRVPvwUyxw+PTYY/GXKyXElQ+4/yWVHXFI0ghNLbRMCG9qQDL3ReZtA8s7UE8 CpBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date :arc-authentication-results; bh=gJ2OOC6h1MuM8/8wEA10mdRbWkbGvkQvKXIh7ReJCoY=; b=mFwN47ZVNIuE0CUuRhwExtE06axZiPefUUHaPQhIRaBSwx0geCbmRRaF5gSTZJsKtw 3ncPn2Cs/HJebUj4JP7ylPULij7gBl7tEQPzg0QON8sBL/MZfFBSjJX7lkxRzIwm8W0V vO1HVAFtrqMnJhuqVZHdDSOSe5x3dPvcag1NN0ZDt8r04VHrE7FMg5YZgjcGEptjUZaw h6XbTTeEJH/ZbXEbUWJLDzQsbjEXVj5NJnHzLkXbYjKw5hqZv0ppc/T4NK8S3ZtrX3Ua LkIFmzC2wCiyb4m8GSDBE6wg2CRVTe4e2pJb8GO7+4CeqoxhqVbq82Xdv9gcFwyCnBiU 4LbQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t13-v6si3199669pgo.640.2018.06.13.16.24.23; Wed, 13 Jun 2018 16:24:37 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935897AbeFMXX4 (ORCPT + 99 others); Wed, 13 Jun 2018 19:23:56 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:33776 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S935540AbeFMXXy (ORCPT ); Wed, 13 Jun 2018 19:23:54 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5DNIpf8104936 for ; Wed, 13 Jun 2018 19:23:54 -0400 Received: from e13.ny.us.ibm.com (e13.ny.us.ibm.com [129.33.205.203]) by mx0a-001b2d01.pphosted.com with ESMTP id 2jk9nsxya3-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 13 Jun 2018 19:23:53 -0400 Received: from localhost by e13.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 13 Jun 2018 19:23:53 -0400 Received: from b01cxnp23033.gho.pok.ibm.com (9.57.198.28) by e13.ny.us.ibm.com (146.89.104.200) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 13 Jun 2018 19:23:49 -0400 Received: from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com [9.57.199.106]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w5DNNmco15466880 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 13 Jun 2018 23:23:48 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C453E28059; Wed, 13 Jun 2018 19:23:45 -0400 (EDT) Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0692328058; Wed, 13 Jun 2018 19:23:45 -0400 (EDT) Received: from p8tul1-build.aus.stglabs.ibm.com (unknown [9.3.141.206]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTPS; Wed, 13 Jun 2018 19:23:44 -0400 (EDT) Date: Wed, 13 Jun 2018 18:23:47 -0500 From: "Matthew R. Ochs" To: Souptick Joarder Cc: willy@infradead.org, manoj@linux.vnet.ibm.com, ukrishn@linux.vnet.ibm.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, sabyasachi.linux@gmail.com, brajeswar.linux@gmail.com Subject: Re: [PATCH] scsi: cxlflash: Change return type for fault handler References: <20180611194204.GA18687@jordon-HP-15-Notebook-PC> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180611194204.GA18687@jordon-HP-15-Notebook-PC> User-Agent: Mutt/1.5.23 (2014-03-12) X-TM-AS-GCONF: 00 x-cbid: 18061323-0064-0000-0000-0000031AD882 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009185; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000265; SDB=6.01046569; UDB=6.00536008; IPR=6.00825544; MB=3.00021632; MTD=3.00000008; XFM=3.00000015; UTC=2018-06-13 23:23:52 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18061323-0065-0000-0000-000039961665 Message-Id: <20180613232347.GA3851@p8tul1-build.aus.stglabs.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-06-13_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=887 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806130249 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 12, 2018 at 01:12:04AM +0530, Souptick Joarder wrote: > Use new return type vm_fault_t for fault handler. For > now, this is just documenting that the function returns > a VM_FAULT value rather than an errno. Once all instances > are converted, vm_fault_t will become a distinct type. > > Ref-> commit 1c8f422059ae ("mm: change return type to vm_fault_t") > > Signed-off-by: Souptick Joarder This looks fine to me. FYI that there is another handler for this driver in a series destined for 4.18 and currently in next/master. Acked-by: Matthew R. Ochs