From: Henryk Dembkowski Date: Sat, 12 Feb 2011 19:50:09 +0000 (-0800) Subject: isci: c99 tables cleanup step1 X-Git-Tag: v3.0-rc6~1^2~1^2~264 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db48255b32a2664d8b321a51f46084a669e11ac6;p=pandora-kernel.git isci: c99 tables cleanup step1 scic_sds_stp_remote_device_ready_substate_handler_table[] scic_sds_smp_remote_device_ready_substate_handler_table[] c99 the struct initializers: 1/ allows grep to consistently show method name associations. The naming is mostly consistent (except when it isn't) so this guarantees coverage of present and future exception cases. 2/ let's the compiler guarantee that the state table array entry correlates with an actual state name and detect accidental reordering or deletion of states. 3/ allows default handler's to be identified easily Signed-off-by: Henryk Dembkowski Signed-off-by: Dan Williams --- Reading git-diff-tree failed