powerpc/sparse: Make a bunch of things static
Squash a bunch of sparse warnings by making things static. Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
bc42f1d9f5
commit
7c98bd7208
@@ -131,7 +131,7 @@ static const struct attribute_group *attr_groups[] = {
|
||||
#define HGPCI_MAX_DATA_BYTES \
|
||||
(HGPCI_REQ_BUFFER_SIZE - sizeof(struct hv_get_perf_counter_info_params))
|
||||
|
||||
DEFINE_PER_CPU(char, hv_gpci_reqb[HGPCI_REQ_BUFFER_SIZE]) __aligned(sizeof(uint64_t));
|
||||
static DEFINE_PER_CPU(char, hv_gpci_reqb[HGPCI_REQ_BUFFER_SIZE]) __aligned(sizeof(uint64_t));
|
||||
|
||||
struct hv_gpci_request_buffer {
|
||||
struct hv_get_perf_counter_info_params params;
|
||||
|
Reference in New Issue
Block a user