diff options
author | Tejun Heo <htejun@gmail.com> | 2007-08-18 00:28:49 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-12 14:55:37 -0400 |
commit | a1e10f7e68a544c80081fee4fa550dc28389f44a (patch) | |
tree | cf6673989f360e0b12b2a658a7042d30420c14eb /drivers/hwmon/atxp1.c | |
parent | cbcdd87593a1d85c5c4b259945a3a09eee12814d (diff) |
libata: move EH repeat reporting into ata_eh_report()
EH is sometimes repeated without any error or action. For example,
this happens when probing IDENTIFY fails because of a phantom device.
In these cases, all the repeated EH does is making sure there is no
unhandled error or pending action and return. This repeation is
necessary to avoid losing any event which occurred while EH was in
progress.
Unfortunately, this dry run causes annonying "EH pending after
completion" message. This patch moves the repeat reporting into
ata_eh_report() such that it's more compact and skipped on dry runs.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Mikael Pettersson <mikep@it.uu.se>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/hwmon/atxp1.c')
0 files changed, 0 insertions, 0 deletions