[PATCH] kexec code cleanup
o Following patch provides purely cosmetic changes and corrects CodingStyle guide lines related certain issues like below in kexec related files o braces for one line "if" statements, "for" loops, o more than 80 column wide lines, o No space after "while", "for" and "switch" key words o Changes: o take-2: Removed the extra tab before "case" key words. o take-3: Put operator at the end of line and space before "*/" Signed-off-by: Maneesh Soni <maneesh@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
4f339ecb30
commit
72414d3f1d
@@ -287,7 +287,7 @@ static ssize_t read_oldmem(struct file *file, char __user *buf,
|
||||
size_t read = 0, csize;
|
||||
int rc = 0;
|
||||
|
||||
while(count) {
|
||||
while (count) {
|
||||
pfn = *ppos / PAGE_SIZE;
|
||||
if (pfn > saved_max_pfn)
|
||||
return read;
|
||||
|
Reference in New Issue
Block a user