From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3w74jh3ycwzDq8V for ; Wed, 19 Apr 2017 11:51:36 +1000 (AEST) To: NeilBrown Cc: "James E.J. Bottomley" , "Martin K. Petersen" , Tyrel Datwyler , linux-scsi@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi: ibmvfc: don't check for failure from mempool_alloc() From: "Martin K. Petersen" References: <878tn9xb2m.fsf@notabene.neil.brown.name> Date: Tue, 18 Apr 2017 21:51:28 -0400 In-Reply-To: <878tn9xb2m.fsf@notabene.neil.brown.name> (NeilBrown's message of "Mon, 10 Apr 2017 12:15:13 +1000") Message-ID: MIME-Version: 1.0 Content-Type: text/plain List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , NeilBrown writes: > mempool_alloc() cannot fail when passed GFP_NOIO or any other gfp > setting that is permitted to sleep. So remove this pointless code. Applied to 4.12/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering