projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
target/iscsi: Remove macros that contain typecasts
[linux-2.6-microblaze.git]
/
drivers
/
target
/
iscsi
/
iscsi_target_auth.c
diff --git
a/drivers/target/iscsi/iscsi_target_auth.c
b/drivers/target/iscsi/iscsi_target_auth.c
index
7505fdd
..
164b871
100644
(file)
--- a/
drivers/target/iscsi/iscsi_target_auth.c
+++ b/
drivers/target/iscsi/iscsi_target_auth.c
@@
-111,7
+111,7
@@
static struct iscsi_chap *chap_server_open(
/*
* Set Identifier.
*/
- chap->id =
ISCSI_TPG_C(conn)
->tpg_chap_id++;
+ chap->id =
conn->tpg
->tpg_chap_id++;
*aic_len += sprintf(aic_str + *aic_len, "CHAP_I=%d", chap->id);
*aic_len += 1;
pr_debug("[server] Sending CHAP_I=%d\n", chap->id);