Re: [PATCH 1/1] [4.9-rc] ipr: Fix async error WARN_ON

2016-10-14 Thread Martin K. Petersen
> "Brian" == Brian King writes: Brian> Commit afc3f83cb4a5 ("scsi: ipr: Add asynchronous error Brian> notification") introduced the warn on shown below. To fix this, Brian> rather than attempting to send the KOBJ_CHANGE uevent from Brian> interrupt context, which

[PATCH 1/1] [4.9-rc] ipr: Fix async error WARN_ON

2016-10-13 Thread Brian King
Commit afc3f83cb4a5 ("scsi: ipr: Add asynchronous error notification") introduced the warn on shown below. To fix this, rather than attempting to send the KOBJ_CHANGE uevent from interrupt context, which is what is causing the WARN_ON, just wake the ipr worker thread which will send a KOBJ_CHANGE