summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-09-27 16:50:06 +0400
committerVineet Gupta <vgupta@synopsys.com>2013-11-06 09:11:41 +0400
commit0a4c40a3b702730c8b1ad0952e6501e84fadd395 (patch)
tree13a1b5cf43a2ba4bb1aa43b944c91367200b20d2 /scripts/checkpatch.pl
parent0dafafc3ef42bad34fd446725cb9778c3bdd83a8 (diff)
downloadlinux-0a4c40a3b702730c8b1ad0952e6501e84fadd395.tar.xz
ARC: Fix bogus gcc warning and micro-optimise TLB iteration loop
------------------>8---------------------- arch/arc/mm/tlb.c: In function ‘do_tlb_overlap_fault’: arch/arc/mm/tlb.c:688:13: warning: array subscript is above array bounds [-Warray-bounds] (pd0[n] & PAGE_MASK)) { ^ ------------------>8---------------------- While at it, remove the usless last iteration of outer loop when reading a TLB SET for duplicate entries. Suggested-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions