Skip to contentSkip to conversation

Fixed the format of column longer than 80 .

PATCH In review Wanlong Gao 3 participants 5 messages Mar 26, 2011 – Apr 23, 2011

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Fixed the format of column longer than 80 .

---
 drivers/base/memory.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
 mode change 100644 => 100755 drivers/base/memory.c
drivers/base/memory.c +2 -1
old mode 100644
new mode 100755
index 3da6a43..3e9aa3d
@@ -48,7 +48,8 @@ static const char *memory_uevent_name(struct kset *kset, struct kobject *kobj)
 	return MEMORY_CLASS_NAME;
 }
 
-static int memory_uevent(struct kset *kset, struct kobject *obj, struct kobj_uevent_env *env)
+static int memory_uevent(struct kset *kset, struct kobject *obj,
+			struct kobj_uevent_env *env)
 {
 	int retval = 0;
 
Signature · 1 line
1.7.3
#1 lore raw

PATCH 2/2 Fixed the format that column is longer than 80 .

---
 mm/memory.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
 mode change 100644 => 100755 mm/memory.c
mm/memory.c +6 -3
old mode 100644
new mode 100755
index 615be51..422cba6
@@ -2196,7 +2196,8 @@ static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd,
 	return same;
 }
 
-static inline void cow_user_page(struct page *dst, struct page *src, unsigned long va, struct vm_area_struct *vma)
+static inline void cow_user_page(struct page *dst, struct page *src,
+				unsigned long va, struct vm_area_struct *vma)
 {
 	/*
 	 * If the source page was a PFN mapping, we don't have
@@ -2940,7 +2941,8 @@ out_release:
  * except we must first make sure that 'address{-|+}PAGE_SIZE'
  * doesn't hit another vma.
  */
-static inline int check_stack_guard_page(struct vm_area_struct *vma, unsigned long address)
+static inline int check_stack_guard_page(struct vm_area_struct *vma,
+					unsigned long address)
 {
 	address &= PAGE_MASK;
 	if ((vma->vm_flags & VM_GROWSDOWN) && address == vma->vm_start) {
@@ -3653,7 +3655,8 @@ int generic_access_phys(struct vm_area_struct *vma, unsigned long addr,
  * Source/target buffer must be kernel space,
  * Do not walk the page table directly, use get_user_pages
  */
-int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, int write)
+int access_process_vm(struct task_struct *tsk, unsigned long addr,
+			void *buf, int len, int write)
 {
 	struct mm_struct *mm;
 	struct vm_area_struct *vma;
Signature · 1 line
1.7.3
Acked-by on v1 1/2
#3 lore raw
In reply to Wanlong Gao

On Sun, Mar 27, 2011 at 12:25:25AM +0800, Wanlong Gao wrote:

Quoted 29 lines
---
 drivers/base/memory.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
 mode change 100644 => 100755 drivers/base/memory.c
drivers/base/memory.c +2 -1
old mode 100644
new mode 100755
index 3da6a43..3e9aa3d
@@ -48,7 +48,8 @@ static const char *memory_uevent_name(struct kset *kset, struct kobject *kobj)
 	return MEMORY_CLASS_NAME;
 }
 
-static int memory_uevent(struct kset *kset, struct kobject *obj, struct kobj_uevent_env *env)
+static int memory_uevent(struct kset *kset, struct kobject *obj,
+			struct kobj_uevent_env *env)
 {
 	int retval = 0;
 
Signature · 7 lines
1.7.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Acked-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] Fixed the format that column is longer than 80 .

In reply to Wanlong Gao

On Sun, Mar 27, 2011 at 12:25:26AM +0800, Wanlong Gao wrote:

Quoted 49 lines
---
 mm/memory.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
 mode change 100644 => 100755 mm/memory.c
mm/memory.c +6 -3
old mode 100644
new mode 100755
index 615be51..422cba6
@@ -2196,7 +2196,8 @@ static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd,
 	return same;
 }
 
-static inline void cow_user_page(struct page *dst, struct page *src, unsigned long va, struct vm_area_struct *vma)
+static inline void cow_user_page(struct page *dst, struct page *src,
+				unsigned long va, struct vm_area_struct *vma)
 {
 	/*
 	 * If the source page was a PFN mapping, we don't have
@@ -2940,7 +2941,8 @@ out_release:
  * except we must first make sure that 'address{-|+}PAGE_SIZE'
  * doesn't hit another vma.
  */
-static inline int check_stack_guard_page(struct vm_area_struct *vma, unsigned long address)
+static inline int check_stack_guard_page(struct vm_area_struct *vma,
+					unsigned long address)
 {
 	address &= PAGE_MASK;
 	if ((vma->vm_flags & VM_GROWSDOWN) && address == vma->vm_start) {
@@ -3653,7 +3655,8 @@ int generic_access_phys(struct vm_area_struct *vma, unsigned long addr,
  * Source/target buffer must be kernel space,
  * Do not walk the page table directly, use get_user_pages
  */
-int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, int write)
+int access_process_vm(struct task_struct *tsk, unsigned long addr,
+			void *buf, int len, int write)
 {
 	struct mm_struct *mm;
 	struct vm_area_struct *vma;
Signature · 7 lines
1.7.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
#4 lore raw
In reply to Wanlong Gao
Quoted 1 line · Wanlong Gao

---

You did not sign off on this patch :(

Please resend it, and your second one, with a signed-off-by line, and a decent subject and changelog comment as to what subsystem and what this patch is doing.

thanks,

greg k-h