[PATCH] scsi/isci/phy.c: Code tidiness, delete the redundant function call sci_change_state(iphy-sm, SCI_PHY_STOPPED) in sci_phy_link_layer_initialization()

2013-07-18 Thread Xinghai Yu
The sci_phy_link_layer_initialization() was called only once in sci_phy_initialize() and it is called before a call of sci_change_state(iphy-sm, SCI_PHY_STOPPED). So the same call in the end of sci_phy_link_layer_initialization() is redundant. Signed-off-by: Xinghai Yu yuxing

[PATCH] scsi/isci/port_config: Fix a infinite loop.

2013-07-16 Thread Xinghai Yu
It seems the phy_index++; have been placed in wrong place, without it the while circle up will do a infinite loop. Signed-off-by: Xinghai Yu yuxing...@cn.fujitsu.com --- drivers/scsi/isci/port_config.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/isci