Hi, i checked the sources with a static code analysis tool and found a few issues: [linux-2.6.29/arch/x86/kernel/cpu/intel_cacheinfo.c:721]: (error) Overlapping data buffer buf [linux-2.6.29/arch/x86/kernel/cpu/intel_cacheinfo.c:723]: (error) Overlapping data buffer buf [linux-2.6.29/arch/x86/kernel/cpu/intel_cacheinfo.c:727]: (error) Overlapping data buffer buf Line 721: ret += sprintf(buf, "%sEntry: %d\n", buf, i); At line 723 and 727 the same issue happens! Best regards Ettl Martin
I will look into this.
commit f8b201fc7110c3673437254e8ba02451461ece0b "x86: cacheinfo: replace sysfs interface for cache_disable feature"