aboutsummaryrefslogtreecommitdiff
path: root/core/opal.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-06-20 17:18:42 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-06-20 17:18:42 +1000
commitbe430d881285f72df6dd932c06811d62463dfe88 (patch)
treea6dbb9348b70f1ef305542ccfecb12641a4fc45a /core/opal.c
parent45942736aae0d7c3ca7264686e70f549046be340 (diff)
downloadskiboot-be430d881285f72df6dd932c06811d62463dfe88.zip
skiboot-be430d881285f72df6dd932c06811d62463dfe88.tar.gz
skiboot-be430d881285f72df6dd932c06811d62463dfe88.tar.bz2
Add fwts annotations for critical errors
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/opal.c')
-rw-r--r--core/opal.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/opal.c b/core/opal.c
index b6411f0..a9d3c41 100644
--- a/core/opal.c
+++ b/core/opal.c
@@ -269,6 +269,11 @@ void opal_del_poller(void (*poller)(void *data))
* if anybody uses it, print a warning and leak the entry, don't
* free it.
*/
+ /**
+ * @fwts-label UnsupportedOPALdelpoller
+ * @fwts-advice Currently removing a poller is DANGEROUS and
+ * MUST NOT be done in production firmware.
+ */
prlog(PR_ALERT, "WARNING: Unsupported opal_del_poller."
" Interesting locking issues, don't call this.\n");