diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2019-02-25 16:24:32 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-02-25 21:59:03 -0600 |
commit | 96c0ec2ab78b3cd4bcf8fbb2898858359cc5e007 (patch) | |
tree | ee26ae0bf199b43eec83bee11b9fdcb8d1983bba /hw/xive.c | |
parent | f3ad5bb092497be1dc1f2bb9ed519749c73a3422 (diff) | |
download | skiboot-96c0ec2ab78b3cd4bcf8fbb2898858359cc5e007.zip skiboot-96c0ec2ab78b3cd4bcf8fbb2898858359cc5e007.tar.gz skiboot-96c0ec2ab78b3cd4bcf8fbb2898858359cc5e007.tar.bz2 |
sparse: symbol 'xive_buddy_lock/xive_vp_buddy' was not declared. Should it be static?
Yes they should.
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hw/xive.c')
-rw-r--r-- | hw/xive.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* Copyright 2016 IBM Corp. +/* Copyright 2016-2019 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -595,8 +595,8 @@ static uint32_t xive_chip_to_block(uint32_t chip_id) /* VP allocation */ static uint32_t xive_chips_alloc_bits = 0; -struct buddy *xive_vp_buddy; -struct lock xive_buddy_lock = LOCK_UNLOCKED; +static struct buddy *xive_vp_buddy; +static struct lock xive_buddy_lock = LOCK_UNLOCKED; /* VP# decoding/encoding */ static bool xive_decode_vp(uint32_t vp, uint32_t *blk, uint32_t *idx, |