]> git.baikalelectronics.ru Git - kernel.git/commit
isci: remove the completion and event state handlers
authorDan Williams <dan.j.williams@intel.com>
Wed, 11 May 2011 15:29:56 +0000 (08:29 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:04:48 +0000 (04:04 -0700)
commit9666707a8c2abd5d2e1f3cbf835ff33881dc3054
tree3d8aa7d0f9b203f210f66d6026d9414327a7309c
parent657fa17f5379814bb385c89081d160043f9af0d2
isci: remove the completion and event state handlers

With these handlers gone the rest of the state handler infrastructure is
removed.

Added some WARN_ONCEs where previously we would cause NULL pointer
dereferences or silently run handlers from a previous state.

Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/request.c
drivers/scsi/isci/request.h