lkml.org 
[lkml]   [2008]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drivers/mtd/nand/pasemi_nand.c: Add missing pci_dev_put
On Thu, Nov 27, 2008 at 01:19:49PM +0100, Julia Lawall wrote:
> From: Julia Lawall <julia@diku.dk>
>
> pci_get_device increments a reference count that should be decremented
> using pci_dev_put. I have thus added an extra label in the error handling
> code to do this. I don't know, however, whether there should be a
> pci_dev_put before the return 0 as well.
>
[...]

> Signed-off-by: Julia Lawall <julia@diku.dk>

Acked-by: Olof Johansson <olof@lixom.net>



\
 
 \ /
  Last update: 2008-12-01 18:39    [W:0.103 / U:1.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site