Displaying 3 results from an estimated 3 matches for "hpc_error".
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...1
@@ -178,7 +182,7 @@ static u8 i2c_ctrl_read (struct controller *ctlr_ptr, void __iomem *WPGBbar, u8
ultemp = ultemp << 8;
data |= ultemp;
} else {
- err ("this controller type is not supported \n");
+ pr_err("this controller type is not supported\n");
return HPC_ERROR;
}
@@ -214,7 +218,7 @@ static u8 i2c_ctrl_read (struct controller *ctlr_ptr, void __iomem *WPGBbar, u8
i--;
}
if (i == 0) {
- debug ("%s - Error : WPG timeout\n", __func__);
+ debug("%s: Error: WPG timeout\n", __func__);
return HPC_ERROR;
}
//----------------...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...1
@@ -178,7 +182,7 @@ static u8 i2c_ctrl_read (struct controller *ctlr_ptr, void __iomem *WPGBbar, u8
ultemp = ultemp << 8;
data |= ultemp;
} else {
- err ("this controller type is not supported \n");
+ pr_err("this controller type is not supported\n");
return HPC_ERROR;
}
@@ -214,7 +218,7 @@ static u8 i2c_ctrl_read (struct controller *ctlr_ptr, void __iomem *WPGBbar, u8
i--;
}
if (i == 0) {
- debug ("%s - Error : WPG timeout\n", __func__);
+ debug("%s: Error: WPG timeout\n", __func__);
return HPC_ERROR;
}
//----------------...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...1
@@ -178,7 +182,7 @@ static u8 i2c_ctrl_read (struct controller *ctlr_ptr, void __iomem *WPGBbar, u8
ultemp = ultemp << 8;
data |= ultemp;
} else {
- err ("this controller type is not supported \n");
+ pr_err("this controller type is not supported\n");
return HPC_ERROR;
}
@@ -214,7 +218,7 @@ static u8 i2c_ctrl_read (struct controller *ctlr_ptr, void __iomem *WPGBbar, u8
i--;
}
if (i == 0) {
- debug ("%s - Error : WPG timeout\n", __func__);
+ debug("%s: Error: WPG timeout\n", __func__);
return HPC_ERROR;
}
//----------------...