The Coverity checker spotted that we have already oops'ed if "disk"
was NULL.
Since "disk" being NULL seems impossible at this point this patch
removes the NULL check.
Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
Acked-by: Mike Miller <[EMAIL PROTECTED]>
---
This patch has been sent on:
-
The Coverity checker spotted that we have already oops'ed if disk
was NULL.
Since disk being NULL seems impossible at this point this patch
removes the NULL check.
Signed-off-by: Adrian Bunk [EMAIL PROTECTED]
Acked-by: Mike Miller [EMAIL PROTECTED]
---
This patch has been sent on:
- 31 Jul
> -Original Message-
> From: Adrian Bunk [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 30, 2007 5:28 PM
> To: Miller, Mike (OS Dev); Jens Axboe
> Cc: ISS StorageDev; linux-kernel@vger.kernel.org
> Subject: [2.6 patch] drivers/block/cciss.c: fix check-after-use
-Original Message-
From: Adrian Bunk [mailto:[EMAIL PROTECTED]
Sent: Monday, July 30, 2007 5:28 PM
To: Miller, Mike (OS Dev); Jens Axboe
Cc: ISS StorageDev; linux-kernel@vger.kernel.org
Subject: [2.6 patch] drivers/block/cciss.c: fix check-after-use
The Coverity checker
The Coverity checker spotted that we have already oops'ed if "disk"
was NULL.
Since "disk" being NULL seems impossible at this point this patch
removes the NULL check.
Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
---
drivers/block/cciss.c | 56 --
The Coverity checker spotted that we have already oops'ed if disk
was NULL.
Since disk being NULL seems impossible at this point this patch
removes the NULL check.
Signed-off-by: Adrian Bunk [EMAIL PROTECTED]
---
drivers/block/cciss.c | 56 --
1 file
6 matches
Mail list logo