diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-05-14 09:06:17 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-05-14 09:09:08 +0200 |
commit | 972be324fe0adaa67717407510aa067a4ae53d2d (patch) | |
tree | 0fc57f307c040242a2337ed8049ab8fb8807af65 /arch/microblaze | |
parent | 674825d05001e218afe5a04438683e1e597e14fb (diff) | |
download | linux-972be324fe0adaa67717407510aa067a4ae53d2d.tar.gz linux-972be324fe0adaa67717407510aa067a4ae53d2d.tar.bz2 linux-972be324fe0adaa67717407510aa067a4ae53d2d.zip |
microblaze: Initialize temp variable to remove compilation warning
Compilation warning:
arch/microblaze/kernel/cpu/cache.c:148:2: warning:
'temp' is used uninitialized in this function [-Wuninitialized]
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/kernel/cpu/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/cpu/cache.c b/arch/microblaze/kernel/cpu/cache.c index 4254514b4c8c..a6e44410672d 100644 --- a/arch/microblaze/kernel/cpu/cache.c +++ b/arch/microblaze/kernel/cpu/cache.c @@ -140,7 +140,7 @@ do { \ /* It is used only first parameter for OP - for wic, wdc */ #define CACHE_RANGE_LOOP_1(start, end, line_length, op) \ do { \ - int volatile temp; \ + int volatile temp = 0; \ int align = ~(line_length - 1); \ end = ((end & align) == end) ? end - line_length : end & align; \ WARN_ON(end - start < 0); \ |