diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2019-02-25 16:24:36 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-02-25 21:59:03 -0600 |
commit | 3b8b7e8c4e7880f992092856ae25d4bd3d53126b (patch) | |
tree | 9b72c56b234db773a6088b37264ed8a6b24e2568 /hw/homer.c | |
parent | 039d184dda211fc5d8c64457d006111a0178f293 (diff) | |
download | skiboot-3b8b7e8c4e7880f992092856ae25d4bd3d53126b.zip skiboot-3b8b7e8c4e7880f992092856ae25d4bd3d53126b.tar.gz skiboot-3b8b7e8c4e7880f992092856ae25d4bd3d53126b.tar.bz2 |
sparse: symbol '*bar*' was not declared. Should it be static?
Yes, a bunch of HOMER symbols should be.
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hw/homer.c')
-rw-r--r-- | hw/homer.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* Copyright 2013-2014 IBM Corp. +/* Copyright 2013-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. @@ -44,8 +44,8 @@ enum P9_BAR { P9_BAR_SBE = 3, }; -u64 pba_bar0, pba_barmask0; -u8 bar_homer, bar_slw, bar_occ_common; +static u64 pba_bar0, pba_barmask0; +static u8 bar_homer, bar_slw, bar_occ_common; static bool read_pba_bar(struct proc_chip *chip, unsigned int bar_no, uint64_t *base, uint64_t *size) |