mm: fix a coding style issue
Subsystems (2)
PATCH 3/3 mm: fix a coding style issue
Fix a coding style issue.
Signed-off-by Kristaps Civkulis <[email protected]>
--- mm/hugetlb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
mm/hugetlb.c +1 -2
@@ -1916,8 +1916,7 @@ static long __vma_reservation_common(struct hstate *h,return 0 ; else return 1; - } -else + }else return ret <0 ? ret :0 ; }
Signature · 7 lines
2.12.0 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
PATCH 1/1 mm: fix a coding style issue
Fix a coding style issue.
Signed-off-by Kristaps Civkulis <[email protected]>
---
Resend, because it should be only [PATCH] in subject.
--- mm/hugetlb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
mm/hugetlb.c +1 -2
@@ -1916,8 +1916,7 @@ static long __vma_reservation_common(struct hstate *h,return 0 ; else return 1; - } -else + }else return ret <0 ? ret :0 ; }
Signature · 7 lines
2.12.0 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 1 line · Kristaps Civkulis
Fix a coding style issue.
I believe style fixes are worth applying only when part of a larger change which does something useful or where the resulting code is much easier to read. This doesn't seem to be the case here.
Quoted 24 lines
Signed-off-by Kristaps Civkulis <[email protected]>---
Resend, because it should be only [PATCH] in subject.--- mm/hugetlb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)mm/hugetlb.c +1
-2@@ -1916,8 +1916,7 @@ static long __vma_reservation_common(struct hstate *h,return 0 ; else return 1; - } -else + }else return ret <0 ? ret :0 ; }Signature · 1 line
2.12.0
Signature · 8 lines
Michal Hocko SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>