summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorRussell King2006-11-10 21:27:53 +0100
committerLinus Torvalds2006-11-13 16:40:42 +0100
commitd8b295f29091310d746509bb6d5828aaf4907a18 (patch)
treedb49c0b071d744e7687723c5ae45cf1b02640b97 /.gitignore
parent[PATCH] Patch for nvidia divide by zero error for 7600 pci-express card (diff)
downloadkernel-qcow2-linux-d8b295f29091310d746509bb6d5828aaf4907a18.tar.gz
kernel-qcow2-linux-d8b295f29091310d746509bb6d5828aaf4907a18.tar.xz
kernel-qcow2-linux-d8b295f29091310d746509bb6d5828aaf4907a18.zip
[PATCH] Fix missing parens in set_personality()
If you call set_personality() with an expression such as: set_personality(foo ? PERS_FOO1 : PERS_FOO2); then this evaluates to: ((current->personality == foo ? PERS_FOO1 : PERS_FOO2) ? ... which is obviously not the intended result. Add the missing parents to ensure this gets evaluated as expected: ((current->personality == (foo ? PERS_FOO1 : PERS_FOO2)) ? ... Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions