Bug 10404

Summary: memory leak in [drivers/ata/sata_fsl.c:1279]
Product: IO/Storage Reporter: Daniel Marjamäki (danielm77)
Component: Serial ATAAssignee: Jeff Garzik (jgarzik)
Status: RESOLVED CODE_FIX    
Severity: normal CC: bunk, johfel, zhengz2011
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.24.4 Subsystem:
Regression: --- Bisected commit-id:

Description Daniel Marjamäki 2008-04-06 05:18:12 UTC
Latest working kernel version:
Earliest failing kernel version:
Distribution:
Hardware Environment:
Software Environment:
Problem Description:

Function: sata_fsl_probe

The variable 'r' is allocated.

But I can't see where it is deallocated.
Or even used. Can the variable be removed completely perhaps?

Steps to reproduce:
Comment 1 Andrew Morton 2008-04-06 12:36:59 UTC
Thanks, I queued a fix.