]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Check RTAS extended log flag before checking length
authorAnton Blanchard <anton@samba.org>
Tue, 11 Jan 2011 19:51:31 +0000 (19:51 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 Jan 2011 03:08:38 +0000 (14:08 +1100)
commit7f32c9c60089bfdb5eeeaae6e9f59046db998234
treeaddedd0786354bcebbc5f391d2900fac98339407
parentd368514c3097a48a109b6ba64e12047106c7473d
powerpc: Check RTAS extended log flag before checking length

The spec suggests we should first check the extended log flag before checking
the length field.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/rtasd.c