The patch below fixes the following recently introduced checkpatch complaints:

* use tabs not spaces
* Macros with complex values should be enclosed in parenthesis.
* printk() should include KERN_ facility level.
The patch below has been verified by reviewing it carefully and by verifying the output of the following command: scripts/run-regression-tests -k 2.6.28.8

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@707 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2009-03-20 12:36:01 +00:00
parent a20e32ad33
commit 27c5d8dcdf
9 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -165,7 +165,7 @@ int session_add(struct iscsi_target *target,
info->sid);
err = -EEXIST;
goto out;
}
}
sid = (union iscsi_sid)info->sid;
sid.id.tsih = 0;
@@ -181,7 +181,7 @@ int session_add(struct iscsi_target *target,
i.id.tsih = 0;
if ((sid.id64 == i.id64) &&
(strcmp(info->initiator_name, session->initiator_name) == 0)) {
if (!session->sess_shutting_down) {
if (!session->sess_shutting_down) {
/* session reinstatement */
old_sess = session;
}