mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-19 06:26:44 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user