From: Dan Williams Date: Thu, 31 Mar 2011 20:10:44 +0000 (-0700) Subject: isci: fix fragile/conditional isci_host lookups X-Git-Tag: v3.0-rc6~1^2~1^2~181 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4393aa4e6b9517a666f0ef6b774fd421a9dc4c68;p=pandora-kernel.git isci: fix fragile/conditional isci_host lookups A domain_device can always reference back to ->lldd_ha unlike local lldd structures. Fix up cases where the driver uses local objects to look up the isci_host. This also changes the calling conventions of some routines to expect a valid isci_host parameter rather than re-lookup the pointer on entry. Incidentally cleans up some macros that are longer to type than the open-coded equivalent: isci_host_from_sas_ha isci_dev_from_domain_dev Signed-off-by: Dan Williams --- Reading git-diff-tree failed