aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2014-11-26 10:33:16 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2014-11-26 10:33:16 +1100
commit59fa1ecbbcf148ae9a83a56f0c71657f08608e60 (patch)
tree91d62989a190f68cf66f80d46d64615ba1907348 /hw
parent599a76fbb7a9fbb4a8d329dc9ed5ada0e77a06a8 (diff)
parent7854b261c98ca419e3f33af969ccc5e74f3b5716 (diff)
downloadskiboot-59fa1ecbbcf148ae9a83a56f0c71657f08608e60.zip
skiboot-59fa1ecbbcf148ae9a83a56f0c71657f08608e60.tar.gz
skiboot-59fa1ecbbcf148ae9a83a56f0c71657f08608e60.tar.bz2
Merge branch 'update-2.1.1.1'
Diffstat (limited to 'hw')
-rw-r--r--hw/fsp/fsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/fsp/fsp.c b/hw/fsp/fsp.c
index 4fa9466..9dba411 100644
--- a/hw/fsp/fsp.c
+++ b/hw/fsp/fsp.c
@@ -958,7 +958,7 @@ int fsp_queue_msg(struct fsp_msg *msg, void (*comp)(struct fsp_msg *msg))
u16 seq;
int rc = 0;
- if (!fsp)
+ if (!fsp || !msg)
return -1;
/* Recursive locking */