[PATCH v2] eventfd: prepare id to userspace via fdinfo

2019-03-27 Thread Masatake YAMATO
s. A tool like lsof can utilize the information to print endpoints. Change in v2: Use integers as ids instead of memory addresses of eventfd contexts. Signed-off-by: Masatake YAMATO --- fs/eventfd.c | 8 1 file changed, 8 insertions(+) diff --git a/fs/eventfd.c b/fs/eventfd.c index 08

Re: [PATCH RESEND] eventfd: prepare id to userspace via fdinfo

2019-03-20 Thread Masatake YAMATO
Thank you for the comment. On Wed, 20 Mar 2019 12:05:25 -0700, Andrew Morton wrote: > On Wed, 20 Mar 2019 18:29:29 +0900 Masatake YAMATO wrote: > >> Finding endpoints of an IPC channel is one of essential task to >> understand how a user program works. Procfs and netl

[PATCH RESEND] eventfd: prepare id to userspace via fdinfo

2019-03-20 Thread Masatake YAMATO
d. A tool like lsof can utilize the information to print endpoints. Signed-off-by: Masatake YAMATO --- fs/eventfd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/eventfd.c b/fs/eventfd.c index 08d3bd602f73..fc63ad43d962 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@ -297,6 +297,7 @@ s

[PATCH RESEND] eventfd: prepare id to userspace via fdinfo

2019-03-05 Thread Masatake YAMATO
pplicaiton utilizing the information is lsof. Signed-off-by: Masatake YAMATO --- fs/eventfd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/eventfd.c b/fs/eventfd.c index 08d3bd602f73..fc63ad43d962 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@ -297,6 +297,7 @@ static void eventfd_s

[PATCH RESEND] eventfd: prepare id to userspace via fdinfo

2019-02-05 Thread Masatake YAMATO
pplicaiton utilizing the information is lsof. Signed-off-by: Masatake YAMATO --- fs/eventfd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/eventfd.c b/fs/eventfd.c index 08d3bd602f73..fc63ad43d962 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@ -297,6 +297,7 @@ static void eventfd_s

[PATCH] eventfd: prepare id to userspace via fdinfo

2018-12-17 Thread Masatake YAMATO
Finding endpoints of an IPC channel is one of essential task to understand how a user program works. Procfs and netlink socket provide enough hints to find endpoints for IPC channels like pipes, unix sockets, and pseudo terminals. However, there is no simple way to find endpoints for an eventfd

Re: [PATCH resend] eventfd: make eventfd files distinguishable in /proc/$PID/fd

2018-12-11 Thread Masatake YAMATO
On Tue, 11 Dec 2018 17:09:14 -0600, "Serge E. Hallyn" wrote: > On Mon, Dec 10, 2018 at 03:35:46AM +0900, Masatake YAMATO wrote: >> Finding endpoints of an IPC channel is one of essential task to >> understand how a user program works. Procfs and netlink socket provid

[PATCH resend] eventfd: make eventfd files distinguishable in /proc/$PID/fd

2018-12-09 Thread Masatake YAMATO
ventfd]" as before. Signed-off-by: Masatake YAMATO --- fs/eventfd.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/fs/eventfd.c b/fs/eventfd.c index 08d3bd602f73..c18952948110 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@ -21,6 +21,11 @@ #incl

[PATCH resend] eventfd: make eventfd files distinguishable in /proc/$PID/fd

2018-12-03 Thread Masatake YAMATO
ventfd]" as before. Signed-off-by: Masatake YAMATO --- fs/eventfd.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/fs/eventfd.c b/fs/eventfd.c index 08d3bd602f73..c18952948110 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@ -21,6 +21,11 @@ #incl

[PATCH resend] eventfd: make eventfd files distinguishable in /proc/$PID/fd

2018-12-03 Thread Masatake YAMATO
ventfd]" as before. Signed-off-by: Masatake YAMATO --- fs/eventfd.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/fs/eventfd.c b/fs/eventfd.c index 08d3bd602f73..c18952948110 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@ -21,6 +21,11 @@ #incl

Re: [PATCH] x86/iommu: Fix a typo in a macro parameter

2018-06-06 Thread Masatake YAMATO
On Wed, 6 Jun 2018 14:41:57 +0200 (CEST), Thomas Gleixner wrote: > On Wed, 6 Jun 2018, Thomas Gleixner wrote: >> On Wed, 6 Jun 2018, Masatake YAMATO wrote: >> > On Wed, 6 Jun 2018 12:37:34 +0200 (CEST), Thomas Gleixner >> > wrote: >> > > On

Re: [PATCH] x86/iommu: Fix a typo in a macro parameter

2018-06-06 Thread Masatake YAMATO
On Wed, 6 Jun 2018 14:41:57 +0200 (CEST), Thomas Gleixner wrote: > On Wed, 6 Jun 2018, Thomas Gleixner wrote: >> On Wed, 6 Jun 2018, Masatake YAMATO wrote: >> > On Wed, 6 Jun 2018 12:37:34 +0200 (CEST), Thomas Gleixner >> > wrote: >> > > On

Re: [PATCH] x86/iommu: Fix a typo in a macro parameter

2018-06-06 Thread Masatake YAMATO
On Wed, 6 Jun 2018 12:37:34 +0200 (CEST), Thomas Gleixner wrote: > On Wed, 6 Jun 2018, Masatake YAMATO wrote: > > Can you please explain why 0 is the wrong value. I don't know such constants, 0 and 1. What I change is just the name of macro parameter as s/detect/_detect/

Re: [PATCH] x86/iommu: Fix a typo in a macro parameter

2018-06-06 Thread Masatake YAMATO
On Wed, 6 Jun 2018 12:37:34 +0200 (CEST), Thomas Gleixner wrote: > On Wed, 6 Jun 2018, Masatake YAMATO wrote: > > Can you please explain why 0 is the wrong value. I don't know such constants, 0 and 1. What I change is just the name of macro parameter as s/detect/_detect/

[PATCH] x86/iommu: Fix a typo in a macro parameter

2018-06-05 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- arch/x86/include/asm/iommu_table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/iommu_table.h b/arch/x86/include/asm/iommu_table.h index 1fb3fd1a83c2..2a0d5f7d1ed1 100644 --- a/arch/x86/include/asm/iommu_table.h

[PATCH] x86/iommu: Fix a typo in a macro parameter

2018-06-05 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- arch/x86/include/asm/iommu_table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/iommu_table.h b/arch/x86/include/asm/iommu_table.h index 1fb3fd1a83c2..2a0d5f7d1ed1 100644 --- a/arch/x86/include/asm/iommu_table.h

[PATCH v2 resend] pty: show associative slave of ptmx in fdinfo

2017-08-14 Thread Masatake YAMATO
Remove all #ifdef CONFIG_PROC_FS/#endif. Suggested by Greg KH. Signed-off-by: Masatake YAMATO <yam...@redhat.com> --- drivers/tty/pty.c | 8 +++- drivers/tty/tty_io.c | 9 + include/linux/tty_driver.h | 2 ++ 3 files changed, 18 insertions(+), 1 deletio

[PATCH v2 resend] pty: show associative slave of ptmx in fdinfo

2017-08-14 Thread Masatake YAMATO
Remove all #ifdef CONFIG_PROC_FS/#endif. Suggested by Greg KH. Signed-off-by: Masatake YAMATO --- drivers/tty/pty.c | 8 +++- drivers/tty/tty_io.c | 9 + include/linux/tty_driver.h | 2 ++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH v2 resend] pty: show associative slave of ptmx in fdinfo

2017-07-30 Thread Masatake YAMATO
Remove all #ifdef CONFIG_PROC_FS/#endif. Suggested by Greg KH. Signed-off-by: Masatake YAMATO <yam...@redhat.com> --- drivers/tty/pty.c | 8 +++- drivers/tty/tty_io.c | 9 + include/linux/tty_driver.h | 2 ++ 3 files changed, 18 insertions(+), 1 deletio

[PATCH v2 resend] pty: show associative slave of ptmx in fdinfo

2017-07-30 Thread Masatake YAMATO
Remove all #ifdef CONFIG_PROC_FS/#endif. Suggested by Greg KH. Signed-off-by: Masatake YAMATO --- drivers/tty/pty.c | 8 +++- drivers/tty/tty_io.c | 9 + include/linux/tty_driver.h | 2 ++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH v2] pty: show associative slave of ptmx in fdinfo

2017-07-17 Thread Masatake YAMATO
Remove all #ifdef CONFIG_PROC_FS/#endif. Suggested by Greg KH. Signed-off-by: Masatake YAMATO <yam...@redhat.com> --- drivers/tty/pty.c | 8 +++- drivers/tty/tty_io.c | 9 + include/linux/tty_driver.h | 2 ++ 3 files changed, 18 insertions(+), 1 deletio

[PATCH v2] pty: show associative slave of ptmx in fdinfo

2017-07-17 Thread Masatake YAMATO
Remove all #ifdef CONFIG_PROC_FS/#endif. Suggested by Greg KH. Signed-off-by: Masatake YAMATO --- drivers/tty/pty.c | 8 +++- drivers/tty/tty_io.c | 9 + include/linux/tty_driver.h | 2 ++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH RESEND] pty: show associative slave of ptmx in fdinfo

2017-07-12 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[PATCH RESEND] pty: show associative slave of ptmx in fdinfo

2017-07-12 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[PATCH RESEND] pty: show associative slave of ptmx in fdinfo

2017-06-26 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[PATCH RESEND] pty: show associative slave of ptmx in fdinfo

2017-06-26 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[PATCH RESEND] pty: show associative slave of ptmx in fdinfo

2017-06-11 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[PATCH RESEND] pty: show associative slave of ptmx in fdinfo

2017-06-11 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[RESEND PATCH] pty: show associative slave of ptmx in fdinfo

2017-05-24 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[RESEND PATCH] pty: show associative slave of ptmx in fdinfo

2017-05-24 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[RESEND PATCH] pty: show associative slave of ptmx in fdinfo

2017-03-30 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[RESEND PATCH] pty: show associative slave of ptmx in fdinfo

2017-03-30 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[PATCH] pty: show associative slave of ptmx in fdinfo

2017-02-13 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[PATCH] pty: show associative slave of ptmx in fdinfo

2017-02-13 Thread Masatake YAMATO
rs for pts/n and ptmx. (n = 0, 1, ...) This is different from pipe. About pipe such association can be solved by inode of pipefs. Providing the way to know the association between pts/n and ptmx helps users understand the status of running system. lsof can utilize this field. Signed-off-by: Masat

[PATCH] dynamic_debug: Fix a typo in comment

2014-12-14 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- lib/dynamic_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 527799d..d8f3d31 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -641,7 +641,7 @@ static __init int

[PATCH] dynamic_debug: Fix a typo in comment

2014-12-14 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO yam...@redhat.com --- lib/dynamic_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 527799d..d8f3d31 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -641,7 +641,7 @@ static

[PATCH] intel_ips: fix a type in error message

2014-10-29 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- drivers/platform/x86/intel_ips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c index c0242ed..ecd36e3 100644 --- a/drivers/platform/x86/intel_ips.c +++ b/drivers/platform

[PATCH] intel_ips: fix a type in error message

2014-10-29 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO yam...@redhat.com --- drivers/platform/x86/intel_ips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c index c0242ed..ecd36e3 100644 --- a/drivers/platform/x86/intel_ips.c +++ b

[PATCH] wait: swap EXIT_ZOMBIE(Z) and EXIT_DEAD(X) chars in TASK_STATE_TO_CHAR_STR

2014-05-21 Thread Masatake YAMATO
-by: Masatake YAMATO --- include/linux/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 25f54c7..21fbdae 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -220,7 +220,7 @@ print_cfs_rq(struct seq_file *m

[PATCH] wait: swap EXIT_ZOMBIE(Z) and EXIT_DEAD(X) chars in TASK_STATE_TO_CHAR_STR

2014-05-21 Thread Masatake YAMATO
-by: Masatake YAMATO yam...@redhat.com --- include/linux/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 25f54c7..21fbdae 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -220,7 +220,7 @@ print_cfs_rq

Re: [thermal_init] kernel BUG at net/netlink/genetlink.c:145!

2013-07-22 Thread Masatake YAMATO
> Hi Eduardo, > > I got the below dmesg and the first bad commit says that > thermal_init() is trying to register a too long group name. It may be related to my mistake. http://lists.openwall.net/netdev/2013/03/20/133 http://lists.openwall.net/netdev/2013/03/21/79 Mas

Re: [thermal_init] kernel BUG at net/netlink/genetlink.c:145!

2013-07-22 Thread Masatake YAMATO
Hi Eduardo, I got the below dmesg and the first bad commit says that thermal_init() is trying to register a too long group name. It may be related to my mistake. http://lists.openwall.net/netdev/2013/03/20/133 http://lists.openwall.net/netdev/2013/03/21/79 Masatake YAMATO

[PATCH] pnp: extend char array field in pnp_fixup structure

2013-04-03 Thread Masatake YAMATO
o space for nul char. If the id field is just used as byte array, there is no problem. However, it is used as c string in pnp_fixup_device function: pnp_dbg(>dev, "%s: calling %pF\n", f->id, f->quirk_function); Signed-off-by: Masatake YAMATO

[PATCH] pnp: extend char array field in pnp_fixup structure

2013-04-03 Thread Masatake YAMATO
field is just used as byte array, there is no problem. However, it is used as c string in pnp_fixup_device function: pnp_dbg(dev-dev, %s: calling %pF\n, f-id, f-quirk_function); Signed-off-by: Masatake YAMATO yam...@redhat.com --- include/linux/pnp.h | 2

[RESEND3 PATCH] libiscsi: avoid unnecessary multiple NULL assignments

2013-02-25 Thread Masatake YAMATO
s from commit: 3e5c28ad0391389959ccae81c938c7533efb3490 It seems that the line after kfifo_in invocation was introduced accidentally. Signed-off-by: Masatake YAMATO Reviewed-by: Mike Christie --- drivers/scsi/libiscsi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/libisc

[RESEND3 PATCH] libiscsi: avoid unnecessary multiple NULL assignments

2013-02-25 Thread Masatake YAMATO
commit: 3e5c28ad0391389959ccae81c938c7533efb3490 It seems that the line after kfifo_in invocation was introduced accidentally. Signed-off-by: Masatake YAMATO yam...@redhat.com Reviewed-by: Mike Christie micha...@cs.wisc.edu --- drivers/scsi/libiscsi.c | 1 - 1 file changed, 1 deletion(-) diff

[RESEND2 PATCH] libiscsi: avoid unnecessary multiple NULL assignments

2012-12-17 Thread Masatake YAMATO
s from commit: 3e5c28ad0391389959ccae81c938c7533efb3490 It seems that the line after kfifo_in invocation was introduced accidentally. Signed-off-by: Masatake YAMATO Reviewed-by: Mike Christie --- drivers/scsi/libiscsi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/libisc

[RESEND2 PATCH] libiscsi: avoid unnecessary multiple NULL assignments

2012-12-17 Thread Masatake YAMATO
commit: 3e5c28ad0391389959ccae81c938c7533efb3490 It seems that the line after kfifo_in invocation was introduced accidentally. Signed-off-by: Masatake YAMATO yam...@redhat.com Reviewed-by: Mike Christie micha...@cs.wisc.edu --- drivers/scsi/libiscsi.c | 1 - 1 file changed, 1 deletion(-) diff

Re: linux-next: manual merge of the net-next tree with the vfs tree

2012-09-04 Thread Masatake YAMATO
Hi, How can I see source files applied your patch? (I'm very new to kernel development.) You patch looks like a patch for another patch. Masatake YAMATO > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in > net/socket.c between commits f8a78429cc70 (&quo

Re: linux-next: manual merge of the net-next tree with the vfs tree

2012-09-04 Thread Masatake YAMATO
Hi, How can I see source files applied your patch? (I'm very new to kernel development.) You patch looks like a patch for another patch. Masatake YAMATO Hi all, Today's linux-next merge of the net-next tree got a conflict in net/socket.c between commits f8a78429cc70 (take descriptor

[PATCH] net: Providing protocol type via system.sockprotoname xattr of /proc/PID/fd entries

2012-08-29 Thread Masatake YAMATO
ility between kernel and user land, the extended attribute is used to prepare the value of dentry->d_name. Signed-off-by: Masatake YAMATO --- net/socket.c | 83 1 file changed, 78 insertions(+), 5 deletions(-) diff --git a/net/socke

[PATCH] net: Providing protocol type via system.sockprotoname xattr of /proc/PID/fd entries

2012-08-29 Thread Masatake YAMATO
, the extended attribute is used to prepare the value of dentry-d_name. Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/socket.c | 83 1 file changed, 78 insertions(+), 5 deletions(-) diff --git a/net/socket.c b/net/socket.c index

[PATCH] be2iscsi: cleanup format strings using literal string concatenations

2012-08-12 Thread Masatake YAMATO
nd - inserting white spaces before/after hypen. Signed-off-by: Masatake YAMATO --- drivers/scsi/be2iscsi/be_cmds.c | 4 +-- drivers/scsi/be2iscsi/be_iscsi.c | 10 +++--- drivers/scsi/be2iscsi/be_main.c | 70 drivers/scsi/be2iscsi/be_mgmt.c | 2 +

[PATCH] libiscsi: avoid unnecessary multiple NULL assignments

2012-08-12 Thread Masatake YAMATO
s from commit: 3e5c28ad0391389959ccae81c938c7533efb3490 It seems that the line after kfifo_in invocation was introduced accidentally. Signed-off-by: Masatake YAMATO --- drivers/scsi/libiscsi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/libiscsi.c b/drivers/scsi/libi

Re: [PATCH v2 01/15] net: proc entry showing inodes on sockfs and their types

2012-08-12 Thread Masatake YAMATO
se fields. Is there any strcut which can be extended? Extending struct sock is o.k.? Masatake YAMATO -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/major

Re: [PATCH v2 01/15] net: proc entry showing inodes on sockfs and their types

2012-08-12 Thread Masatake YAMATO
which can be extended? Extending struct sock is o.k.? Masatake YAMATO -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

[PATCH] libiscsi: avoid unnecessary multiple NULL assignments

2012-08-12 Thread Masatake YAMATO
commit: 3e5c28ad0391389959ccae81c938c7533efb3490 It seems that the line after kfifo_in invocation was introduced accidentally. Signed-off-by: Masatake YAMATO yam...@redhat.com --- drivers/scsi/libiscsi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/libiscsi.c b/drivers/scsi

[PATCH] be2iscsi: cleanup format strings using literal string concatenations

2012-08-12 Thread Masatake YAMATO
. Signed-off-by: Masatake YAMATO yam...@redhat.com --- drivers/scsi/be2iscsi/be_cmds.c | 4 +-- drivers/scsi/be2iscsi/be_iscsi.c | 10 +++--- drivers/scsi/be2iscsi/be_main.c | 70 drivers/scsi/be2iscsi/be_mgmt.c | 2 +- 4 files changed, 43 insertions

[PATCH v2 05/15] ipv4: declaring raw protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring raw protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/raw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index ff0f071..3980a4a 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c @@ -901,6 +901,7 @@ struct proto raw_prot

[PATCH v2 13/15] ipv6: declaring rawv6 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring rawv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/raw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index ef0579d..62ac59f 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c @@ -1226,6 +1226,7 @@ struct proto

[PATCH v2 03/15] ipv4: declaring icmp protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring icmp protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/ping.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c index 6232d47..c4bb504 100644 --- a/net/ipv4/ping.c +++ b/net/ipv4/ping.c @@ -748,6 +748,7 @@ struct proto

[PATCH v2 08/15] unix: declaring unix protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring unix protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/unix/af_unix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index e4768c1..7f109e6 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -616,6 +616,7

[PATCH v2 11/15] ipv6: declaring udpv6 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring udpv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/udp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index 99d0077..1b28eaf 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c @@ -1537,6 +1537,7 @@ struct proto

[PATCH v2 07/15] packet: declaring packet protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring packet protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/packet/af_packet.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index ceaca7c..6a0e47c 100644 --- a/net/packet/af_packet.c +++ b/net/packet

[PATCH v2 06/15] ipv4: declaring tcp protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring tcp protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/tcp_ipv4.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index c660d2c..6f36929 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -2635,6

[PATCH v2 10/15] ipv6: declaring tcpv6 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring tcpv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/tcp_ipv6.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index aa41b0e..741cb3b 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -2017,6

[PATCH v2 04/15] ipv4: declaring udplite protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring udplite protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/udplite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c index 2c46acd..14c9dec 100644 --- a/net/ipv4/udplite.c +++ b/net/ipv4/udplite.c @@ -62,6 +62,7

[PATCH v2 15/15] ipx: declaring ipx protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring ipx protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipx/af_ipx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c index dfd6faa..14be087 100644 --- a/net/ipx/af_ipx.c +++ b/net/ipx/af_ipx.c @@ -1345,6 +1345,7 @@ static

[PATCH v2 12/15] ipv6: declaring udplitev6 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring udplitev6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/udplite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/udplite.c b/net/ipv6/udplite.c index 1d08e21..9013897 100644 --- a/net/ipv6/udplite.c +++ b/net/ipv6/udplite.c @@ -57,6 +57,7

[PATCH v2 09/15] netlink: declaring netlink protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring netlink protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/netlink/af_netlink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 5463969..9094be5 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink

[PATCH v2 01/15] net: proc entry showing inodes on sockfs and their types

2012-08-11 Thread Masatake YAMATO
with `has_own_proc_entry' field in struct proto. If the field is non-zero, the socket of the protocol is never added to `proc_sockfs_list'. In v2 patch, unnecessary CONFIG_PROC_FS ifdefs are removed as suggested by Alan Cox. The patches are rebased to net-next. Signed-off-by: Masatake YAMATO --- include

[PATCH v2 14/15] ax25: declaring ax25 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring ax25 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ax25/af_ax25.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c index 779095d..ff23c8a 100644 --- a/net/ax25/af_ax25.c +++ b/net/ax25/af_ax25.c @@ -803,6 +803,7

[PATCH v2 02/15] ipv4: declaring udp protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring udp protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/udp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index b4c3582..a16c4fa 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -1963,6 +1963,7 @@ struct proto

Re: [PATCH 02/15] Declaring udp protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
anks. After reflecting the suggestion from Alan Cox to the patches, I will v2 patches to netdev. Masatake YAMATO -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.

Re: [PATCH 02/15] Declaring udp protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
to the patches, I will v2 patches to netdev. Masatake YAMATO -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v2 02/15] ipv4: declaring udp protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring udp protocols has its own proc entry. Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/ipv4/udp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index b4c3582..a16c4fa 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -1963,6 +1963,7

[PATCH v2 14/15] ax25: declaring ax25 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring ax25 protocols has its own proc entry. Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/ax25/af_ax25.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c index 779095d..ff23c8a 100644 --- a/net/ax25/af_ax25.c +++ b/net/ax25/af_ax25.c

[PATCH v2 01/15] net: proc entry showing inodes on sockfs and their types

2012-08-11 Thread Masatake YAMATO
with `has_own_proc_entry' field in struct proto. If the field is non-zero, the socket of the protocol is never added to `proc_sockfs_list'. In v2 patch, unnecessary CONFIG_PROC_FS ifdefs are removed as suggested by Alan Cox. The patches are rebased to net-next. Signed-off-by: Masatake YAMATO yam...@redhat.com

[PATCH v2 09/15] netlink: declaring netlink protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring netlink protocols has its own proc entry. Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/netlink/af_netlink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 5463969..9094be5 100644 --- a/net/netlink/af_netlink.c

[PATCH v2 12/15] ipv6: declaring udplitev6 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring udplitev6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/ipv6/udplite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/udplite.c b/net/ipv6/udplite.c index 1d08e21..9013897 100644 --- a/net/ipv6/udplite.c +++ b/net/ipv6

[PATCH v2 15/15] ipx: declaring ipx protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring ipx protocols has its own proc entry. Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/ipx/af_ipx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c index dfd6faa..14be087 100644 --- a/net/ipx/af_ipx.c +++ b/net/ipx/af_ipx.c @@ -1345,6

[PATCH v2 04/15] ipv4: declaring udplite protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring udplite protocols has its own proc entry. Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/ipv4/udplite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c index 2c46acd..14c9dec 100644 --- a/net/ipv4/udplite.c +++ b/net/ipv4/udplite.c

[PATCH v2 10/15] ipv6: declaring tcpv6 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring tcpv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/ipv6/tcp_ipv6.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index aa41b0e..741cb3b 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6

[PATCH v2 06/15] ipv4: declaring tcp protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring tcp protocols has its own proc entry. Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/ipv4/tcp_ipv4.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index c660d2c..6f36929 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c

[PATCH v2 07/15] packet: declaring packet protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring packet protocols has its own proc entry. Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/packet/af_packet.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index ceaca7c..6a0e47c 100644 --- a/net/packet/af_packet.c +++ b/net

[PATCH v2 11/15] ipv6: declaring udpv6 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring udpv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/ipv6/udp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index 99d0077..1b28eaf 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c @@ -1537,6 +1537,7

[PATCH v2 08/15] unix: declaring unix protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring unix protocols has its own proc entry. Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/unix/af_unix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index e4768c1..7f109e6 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c

[PATCH v2 03/15] ipv4: declaring icmp protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring icmp protocols has its own proc entry. Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/ipv4/ping.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c index 6232d47..c4bb504 100644 --- a/net/ipv4/ping.c +++ b/net/ipv4/ping.c @@ -748,6 +748,7

[PATCH v2 13/15] ipv6: declaring rawv6 protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring rawv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/ipv6/raw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index ef0579d..62ac59f 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c @@ -1226,6 +1226,7

[PATCH v2 05/15] ipv4: declaring raw protocols has its own proc entry

2012-08-11 Thread Masatake YAMATO
Declaring raw protocols has its own proc entry. Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/ipv4/raw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index ff0f071..3980a4a 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c @@ -901,6 +901,7

[PATCH 08/15] Declaring unix protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring unix protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/unix/af_unix.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index e4768c1..e2d9869 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -616,6 +616,9

[PATCH 15/15] Declaring ipx protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring ipx protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipx/af_ipx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c index dfd6faa..b20290d 100644 --- a/net/ipx/af_ipx.c +++ b/net/ipx/af_ipx.c @@ -1345,6 +1345,9 @@ static

[PATCH 14/15] Declaring ax25 protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring ax25 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ax25/af_ax25.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c index 779095d..a62dd6c 100644 --- a/net/ax25/af_ax25.c +++ b/net/ax25/af_ax25.c @@ -803,6 +803,9

[PATCH 13/15] Declaring rawv6 protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring rawv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/raw.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index ef0579d..15006ce 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c @@ -1226,6 +1226,9 @@ struct proto

[PATCH 07/15] Declaring packet protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring packet protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/packet/af_packet.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index ceaca7c..4758940 100644 --- a/net/packet/af_packet.c +++ b/net/packet

[PATCH 12/15] Declaring udplitev6 protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring udplitev6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/udplite.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipv6/udplite.c b/net/ipv6/udplite.c index 1d08e21..0d6e713 100644 --- a/net/ipv6/udplite.c +++ b/net/ipv6/udplite.c @@ -57,6

[PATCH 11/15] Declaring udpv6 protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring udpv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/udp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index 99d0077..896149b 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c @@ -1537,6 +1537,9 @@ struct proto

[PATCH 10/15] Declaring tcpv6 protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring tcpv6 protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv6/tcp_ipv6.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 5a439e9..9152d02 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -2043,6

[PATCH 09/15] Declaring netlink protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring netlink protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/netlink/af_netlink.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 5463969..c97b553 100644 --- a/net/netlink/af_netlink.c +++ b/net

[PATCH 06/15] Declaring tcp protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring tcp protocols has its own proc entry. Signed-off-by: Masatake YAMATO --- net/ipv4/tcp_ipv4.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 272241f..e361a26 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -2645,6

  1   2   >