octeon sdk: initialize variable to quiet Clang warning
Clang complains "variable 'dummy' is uninitialized when used here". Reported by: Clang MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
a64bf59c49
commit
34cb0eb2ed
@ -339,7 +339,7 @@ uint64_t cvmx_l2c_read_perf(uint32_t counter)
|
||||
static void fault_in(uint64_t addr, int len)
|
||||
{
|
||||
volatile char *ptr;
|
||||
volatile char dummy;
|
||||
volatile char dummy = 0;
|
||||
/*
|
||||
* Adjust addr and length so we get all cache lines even for
|
||||
* small ranges spanning two cache lines.
|
||||
|
Loading…
x
Reference in New Issue
Block a user