Re: [PATCH] target: Fix target_sense_desc_format NULL pointer dereference

2015-09-16 Thread Nicholas A. Bellinger
On Wed, 2015-09-16 at 15:08 +0300, Sagi Grimberg wrote: > On 9/16/2015 9:31 AM, Nicholas A. Bellinger wrote: > > From: Nicholas Bellinger > > > > This patch allows target_sense_desc_format() to be called without a > > valid se_device pointer, which can occur during an early exception > > ahead of

DEFINE_IDA causing memory leaks? (was Re: [PATCH 1/2] virtio: fix memory leak of virtio ida cache layers)

2015-09-16 Thread Michael S. Tsirkin
On Wed, Sep 16, 2015 at 07:29:17PM -0500, Suman Anna wrote: > The virtio core uses a static ida named virtio_index_ida for > assigning index numbers to virtio devices during registration. > The ida core may allocate some internal idr cache layers and > an ida bitmap upon any ida allocation, and all

Re: [PATCH 10/10] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-09-16 Thread Alim Akhtar
HI Amit, On 08/26/2015 12:12 PM, amit daniel kachhap wrote: On Fri, Aug 21, 2015 at 2:58 PM, Alim Akhtar wrote: From: Seungwon Jeon This patch introduces Exynos UFS host controller driver, which mainly handles vendor-specific operations including link startup, power mode change and hibernati

Re: [Bugfix 3/3] eata: Enhance eata driver to support PCI device hot-removal

2015-09-16 Thread Jiang Liu
On 2015/9/16 21:42, Christoph Hellwig wrote: > On Mon, Sep 14, 2015 at 10:21:14AM +0200, Hannes Reinecke wrote: >> Welll ... if you don't have hardware (and I strongly hope you refer to >> 'hardware able to do hotplugging', not 'hardware for the eata driver' >> ...) why add the code at all? >> Chan

Re: DEFINE_IDA causing memory leaks? (was Re: [PATCH 1/2] virtio: fix memory leak of virtio ida cache layers)

2015-09-16 Thread Hannes Reinecke
On 09/17/2015 07:33 AM, Michael S. Tsirkin wrote: > On Wed, Sep 16, 2015 at 07:29:17PM -0500, Suman Anna wrote: >> The virtio core uses a static ida named virtio_index_ida for >> assigning index numbers to virtio devices during registration. >> The ida core may allocate some internal idr cache laye

Re: [PATCH] target: Fix target_sense_desc_format NULL pointer dereference

2015-09-16 Thread Sagi Grimberg
How about the following to fix up TCM_WRITE_PROTECT + D_SENSE..? diff --git a/drivers/target/target_core_device.c b/drivers/target/target_core_device.c index abf2076..ba102c5 100644 --- a/drivers/target/target_core_device.c +++ b/drivers/target/target_core_device.c @@ -62,22 +62,13 @@ transport_

<    1   2