[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ide
Subject:    Re: [PATCH] ATA: fix a problem that ata port print_id is used	uninitialized
From:       Tejun Heo <htejun () gmail ! com>
Date:       2009-07-30 4:33:19
Message-ID: 4A71228F.5040701 () gmail ! com
[Download RAW message or body]

Zhang Rui wrote:
> fix a problem that ata port print_id is used uninitialized.
> 
> port print_id is initialized in ata_host_register, but it's
> used in ata_host_start.
> Now move it to ata_host_start, before it's invoked for the first time.
> 
> Signed-off-by: Zhang Rui <rui.zhang@intel.com>

The idea was to assign print_id after the port is pretty much
guaranteed to be registered successfully but doing it earlier
shouldn't harm anything really.  So,

Acked-by: Tejun Heo <tj@kernel.org>

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic