diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-06-20 17:18:42 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-06-20 17:18:42 +1000 |
commit | be430d881285f72df6dd932c06811d62463dfe88 (patch) | |
tree | a6dbb9348b70f1ef305542ccfecb12641a4fc45a /core/opal.c | |
parent | 45942736aae0d7c3ca7264686e70f549046be340 (diff) | |
download | talos-skiboot-be430d881285f72df6dd932c06811d62463dfe88.tar.gz talos-skiboot-be430d881285f72df6dd932c06811d62463dfe88.zip |
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.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/opal.c b/core/opal.c index b6411f0c..a9d3c41e 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"); |