On Wed, 2013-01-23 at 19:16 -0800, Nicholas A. Bellinger wrote:
> This patch fixes a bug introduced with v3.7.y stable where the
> dev->dev_link_magic check was incorrectly positioned head of the *dev
> assignment in target_fabric_port_link()
> 
> Reported-by: Chris Boot <[email protected]>
> Signed-off-by: Nicholas Bellinger <[email protected]>

This patch also silences this (valid) GCC warning:
    drivers/target/target_core_fabric_configfs.c: In function 
'target_fabric_port_link':
    drivers/target/target_core_fabric_configfs.c:754:9: warning: 'dev' is used 
uninitialized in this function [-Wuninitialized]

(People searching the web for a solution for that warning might now find
this patch too.)


Paul Bolle

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to