From a7c8b82516e15be038379d9f646a87e8e8b97c91 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 26 Sep 2009 08:39:18 +0000 Subject: [PATCH] Converted GNU-style to C99-style initializer list because checkpatch does not recognize the former and complains about it. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1149 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/qla2x00-target/qla2x00t.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/qla2x00t/qla2x00-target/qla2x00t.c b/qla2x00t/qla2x00-target/qla2x00t.c index b7a7a609d..bea7ea115 100644 --- a/qla2x00t/qla2x00-target/qla2x00t.c +++ b/qla2x00t/qla2x00-target/qla2x00t.c @@ -247,14 +247,14 @@ static int q2x_target_detect(struct scst_tgt_template *templ) { int res; struct qla_tgt_initiator itd = { - magic: QLA2X_TARGET_MAGIC, - tgt24_atio_pkt: q24_atio_pkt, - tgt_response_pkt: q2t_response_pkt, - tgt2x_ctio_completion: q2x_ctio_completion, - tgt_async_event: q2t_async_event, - tgt_host_action: q2t_host_action, - tgt_fc_port_added: q2t_fc_port_added, - tgt_fc_port_deleted: q2t_fc_port_deleted, + .magic = QLA2X_TARGET_MAGIC, + .tgt24_atio_pkt = q24_atio_pkt, + .tgt_response_pkt = q2t_response_pkt, + .tgt2x_ctio_completion = q2x_ctio_completion, + .tgt_async_event = q2t_async_event, + .tgt_host_action = q2t_host_action, + .tgt_fc_port_added = q2t_fc_port_added, + .tgt_fc_port_deleted = q2t_fc_port_deleted, }; TRACE_ENTRY();