diff --git a/iscsi-scst/kernel/config.c b/iscsi-scst/kernel/config.c index 557aedac2..b4c7e842e 100644 --- a/iscsi-scst/kernel/config.c +++ b/iscsi-scst/kernel/config.c @@ -31,13 +31,13 @@ int ctr_open_state; #define ISCSI_PROC_LOG_ENTRY_NAME "trace_level" static struct scst_trace_log iscsi_local_trace_tbl[] = { - { TRACE_D_WRITE, "d_write" }, - { TRACE_CONN_OC, "conn" }, - { TRACE_CONN_OC_DBG, "conn_dbg" }, - { TRACE_D_IOV, "iov" }, - { TRACE_D_DUMP_PDU, "pdu" }, - { TRACE_NET_PG, "net_page" }, - { 0, NULL } + { TRACE_D_WRITE, "d_write" }, + { TRACE_CONN_OC, "conn" }, + { TRACE_CONN_OC_DBG, "conn_dbg" }, + { TRACE_D_IOV, "iov" }, + { TRACE_D_DUMP_PDU, "pdu" }, + { TRACE_NET_PG, "net_page" }, + { 0, NULL } }; static int iscsi_log_info_show(struct seq_file *seq, void *v) diff --git a/iscsi-scst/kernel/conn.c b/iscsi-scst/kernel/conn.c index 7224e1abf..3b1de7fea 100644 --- a/iscsi-scst/kernel/conn.c +++ b/iscsi-scst/kernel/conn.c @@ -103,7 +103,7 @@ void conn_info_show(struct seq_file *seq, struct iscsi_session *session) switch (sk->sk_family) { case AF_INET: snprintf(buf, sizeof(buf), -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33) "%u.%u.%u.%u", NIPQUAD(inet_sk(sk)->daddr)); #else "%pI4", &inet_sk(sk)->inet_daddr); @@ -111,7 +111,7 @@ void conn_info_show(struct seq_file *seq, struct iscsi_session *session) break; #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) case AF_INET6: -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29) snprintf(buf, sizeof(buf), "[%04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x]", NIP6(inet6_sk(sk)->daddr));