From: Bart Van Assche Date: Wed, 14 Aug 2013 15:37:52 +0000 (+0000) Subject: libfc: Avoid that sending after an abort triggers a kernel warning X-Git-Tag: v3.13-rc1~99^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cae7b6dd6c569f18f5c8e3f33cac60fbaeb58140;p=pandora-kernel.git libfc: Avoid that sending after an abort triggers a kernel warning Calling fc_seq_send() after an ABTS message has been received triggers a kernel warning (WARN_ON(!(ep->esb_stat & ESB_ST_SEQ_INIT))). Avoid this by returning -ENXIO to the caller if fc_seq_send() is invoked after an ABTS message has been received. Signed-off-by: Bart Van Assche Cc: Neil Horman Signed-off-by: Robert Love --- Reading git-diff-tree failed