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


Groups > linux.kernel > #1712545

Re: [PATCH] scsi: cxlflash: Fix an error handling path in 'cxlflash_disk_attach()'

From "Matthew R. Ochs" <mrochs@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH] scsi: cxlflash: Fix an error handling path in 'cxlflash_disk_attach()'
Date 2017-08-16 02:30 +0200
Message-ID <ueUnE-8n1-23@gated-at.bofh.it> (permalink)
References <ueQtI-5Vx-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> On Aug 15, 2017, at 3:18 PM, Christophe JAILLET <christophe.jaillet@wanadoo.fr> wrote:
> 
> 'rc' is known to be 0 at this point.
> If 'create_context()' fails, returns -ENOMEM instead of 0 which means
> success.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>

Yep, that's a bug.

Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>

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


Thread

[PATCH] scsi: cxlflash: Fix an error handling path in 'cxlflash_disk_attach()' Christophe JAILLET <christophe.jaillet@wanadoo.fr> - 2017-08-15 22:20 +0200
  Re: [PATCH] scsi: cxlflash: Fix an error handling path in  'cxlflash_disk_attach()' "Matthew R. Ochs" <mrochs@linux.vnet.ibm.com> - 2017-08-16 02:30 +0200
  Re: [PATCH] scsi: cxlflash: Fix an error handling path in 'cxlflash_disk_attach()' "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-08-16 04:20 +0200

csiph-web