Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1601798

Re: [scsi] scsi: ufshcd-platform: remove the useless cast in ERR_PTR/IS_ERR

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [scsi] scsi: ufshcd-platform: remove the useless cast in ERR_PTR/IS_ERR
Date 2017-03-16 00:10 +0100
Message-ID <tlqdk-6eS-5@gated-at.bofh.it> (permalink)
References <tkTKp-8tD-3@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


Tomas Winkler <tomas.winkler@intel.com> 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[scsi] scsi: ufshcd-platform: remove the useless cast in ERR_PTR/IS_ERR Tomas Winkler <tomas.winkler@intel.com> - 2017-03-14 13:30 +0100
  Re: [scsi] scsi: ufshcd-platform: remove the useless cast in ERR_PTR/IS_ERR "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-03-16 00:10 +0100
  Re: [scsi] scsi: ufshcd-platform: remove the useless cast in  ERR_PTR/IS_ERR Subhash Jadavani <subhashj@codeaurora.org> - 2017-03-16 00:10 +0100

csiph-web