Hi,
Issue - How to get PID information for the local tcp connection
i want to get the creator PID for each socket in user space for local
tcp connection, i see in kernel there is support for returing PID with
"SO_PEERCRED" ioctl to work across namespaces. it uses struct pid and
struct cred to
This patch handles blk_register_region() return value.
Earlier blk_register_region() function doesn't handle error
cases, now it is added, so the callers of this function
should also handle it.
Signed-off-by: Vishnu Pratap Singh
---
- Verfied on X86 based ubuntu machine.
- This patch de
This patch handles add_disk() return value.
Earlier add_disk() function doesn't handle error
cases, now it is added, so the callers of this function
should also handle it.
Signed-off-by: Vishnu Pratap Singh
--- Verfied on X86 based ubuntu machine.
--- This patch depends on [PATCH 1/8]
error handling
Signed-off-by: Vishnu Pratap Singh
---
drivers/block/floppy.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
index 331363e..50802a6 100644
--- a/drivers/block/floppy.c
+++ b/drivers/block/floppy.c
@@ -4
error handling
Signed-off-by: Vishnu Pratap Singh
---
drivers/ide/ide-probe.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index 0b63fac..651eb05 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -
ff-by: Vishnu Pratap Singh
---
drivers/cdrom/gdrom.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/cdrom/gdrom.c b/drivers/cdrom/gdrom.c
index 584bc31..38ca43a 100644
--- a/drivers/cdrom/gdrom.c
+++ b/drivers/cdrom/gdrom.c
@@ -817,9 +817,14 @@ static int probe_
error handling
Signed-off-by: Vishnu Pratap Singh
---
drivers/md/md.c | 14 ++
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/drivers/md/md.c b/drivers/md/md.c
index a71b36f..244bb26 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -8940,10 +8940,12 @@ static int _
handling
Signed-off-by: Vishnu Pratap Singh
---
drivers/block/z2ram.c | 12 ++--
drivers/block/zram/zram_drv.c | 9 ++---
2 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/drivers/block/z2ram.c b/drivers/block/z2ram.c
index 968f9e5..85e841f 100644
--- a/driv
handling
Signed-off-by: Vishnu Pratap Singh
---
drivers/block/loop.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index 423f4ca..22e6fd0 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -1794,10
error handling
Signed-off-by: Vishnu Pratap Singh
---
drivers/block/floppy.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
index 331363e..50802a6 100644
--- a/drivers/block/floppy.c
+++ b/drivers/block/floppy.c
@@ -4
ff-by: Vishnu Pratap Singh
---
drivers/mmc/card/block.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index 23b6c8e..543c670 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -2432,7 +2432,10 @@ stati
no error handling and it may cause stability issues also.
Verfied on X86 based ubuntu machine.
Signed-off-by: Vishnu Pratap Singh
---
block/genhd.c | 89 +++
include/linux/genhd.h | 4 +--
2 files changed, 64 insertions(+), 29 deletions(-)
di
no error handling and it may cause stability issues also.
Verfied on X86 based ubuntu machine.
Signed-off-by: Vishnu Pratap Singh
---
block/genhd.c | 92 ++---
include/linux/genhd.h |4 +--
2 files changed, 67 insertions(+), 29 deletions(
ages cma reserved
Also this patch change printk to pr_info.
Signed-off-by: Vishnu Pratap Singh
---
lib/show_mem.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/lib/show_mem.c b/lib/show_mem.c
index adc98e18..0af5ede 100644
--- a/lib/show_mem.c
+++ b/lib/sh
Pratap Singh
---
As per the review comment.
init/do_mounts.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/init/do_mounts.c b/init/do_mounts.c
index 8369ffa..f742250 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -532,7 +532,8 @@ void __init mount_root(void
Pratap Singh
---
init/do_mounts.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/init/do_mounts.c b/init/do_mounts.c
index 8369ffa..a68aaf6 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -532,7 +532,8 @@ void __init mount_root(void)
}
#endif
#ifdef
Pratap Singh
---
init/do_mounts.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/init/do_mounts.c b/init/do_mounts.c
index 8369ffa..a68aaf6 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -532,7 +532,8 @@ void __init mount_root(void)
}
#endif
#ifdef
Pratap Singh
---
init/do_mounts.h |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/init/do_mounts.h b/init/do_mounts.h
index f5b978a..40c85e9 100644
--- a/init/do_mounts.h
+++ b/init/do_mounts.h
@@ -15,8 +15,12 @@ extern int root_mountflags;
static inline int create_dev
This patch adds cma reserved information which is currently
shown as a part of total reserved only. This patch is
continuation of our previos cma patches related to this.
https://lkml.org/lkml/2014/10/20/64
https://lkml.org/lkml/2014/10/22/383
Signed-off-by: Vishnu Pratap Singh
---
lib
This patch replaces printk(KERN_ERR...) with pr_err found.
Signed-off-by: Vishnu Pratap Singh
---
kernel/power/process.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/power/process.c b/kernel/power/process.c
index 7b32322..401f7ee 100644
--- a/kernel/power/process.c
27; (ctx:WxO) - 11
ERROR: space prohibited after that '~' (ctx:OxW) - 11
ERROR: trailing whitespace - 4
ERROR: space required after that ',' (ctx:VxV) - 4
ERROR: trailing statements should be on next line - 3
ERROR: "foo * bar" should be "foo *bar" - 1
total 5
21 matches
Mail list logo