Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754232AbdCOXFT (ORCPT ); Wed, 15 Mar 2017 19:05:19 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:45007 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753319AbdCOXEo (ORCPT ); Wed, 15 Mar 2017 19:04:44 -0400 To: Tomas Winkler Cc: James Bottomley , "Martin K . Petersen" , Vinayak Holikatti , Christoph Hellwig , Yaniv Gardi , Subhash Jadavani , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [scsi] scsi: ufshcd-platform: remove the useless cast in ERR_PTR/IS_ERR From: "Martin K. Petersen" Organization: Oracle Corporation References: <20170314121936.1360-1-tomas.winkler@intel.com> Date: Wed, 15 Mar 2017 19:04:26 -0400 In-Reply-To: <20170314121936.1360-1-tomas.winkler@intel.com> (Tomas Winkler's message of "Tue, 14 Mar 2017 14:19:36 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: userv0021.oracle.com [156.151.31.71] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 247 Lines: 9 Tomas Winkler writes: > IS_ERR and ERR_PTR already forcefully cast their argument, hence there > is no need for additional (complex) casting. Applied to 4.11/scsi-fixes. -- Martin K. Petersen Oracle Linux Engineering