leanup(window)
->
pci_dev_put(window->pdev);
And sorry for bothering you.
Thanks,
James
On Thu, Aug 27, 2020 at 7:46 AM Miquel Raynal wrote:
>
> Hi James,
>
> James Bond wrote on Fri, 21 Aug 2020
> 02:05:36 -0500:
>
> > pci_dev_get increases the
pci_dev_get increases the refcount of "pdev".
In the error paths, pci_dev_put should be called
to handle the "pdev" and decrease the corresponding refcount.
Fixes: 90afffc8bd79 ("[MTD] [MAPS] Support for BIOS flash chips on the nvidia
ck804 southbridge")
Signed-of
BUG: leak checking failed
To fix this issue, we need to release the pointer p1 when the call of
the function kmalloc_array fail.
Signed-off-by: James Bond
---
drivers/tty/vt/consolemap.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/tty/vt/consolemap.c b/drivers/tty/v
According to the documentation of function kobject_init_and_add(),
when this function returns an error, kobject_put() must be called
to properly clean up the memory associated with the object.
Fixes: 925a1da7477f ("firmware: Break out system_event_log in dmi-sysfs")
Signed-off-by:
1-systeme hangs when i try ton compile anything
i've compiled the kernel 2.4.4 , once i finish and boot the first time on
2.4.4 everything goses ok ,
only too problemes
1st- klogd takes 100% CPU time
2nd- cat /proc/cpuinf --guives me too CPU'S without putin any info about
the CPU 1
like
1-systeme hangs when i try ton compile anything
i've compiled the kernel 2.4.4 , once i finish and boot the first time on
2.4.4 everything goses ok ,
only too problemes
1st- klogd takes 100% CPU time
2nd- cat /proc/cpuinf --guives me too CPU'S without putin any info about
the CPU 1
like
6 matches
Mail list logo