[PATCH] [IPMI] remove unused target and action in Makefile

2008-02-26 Thread Denis Cheng
Kbuild system handle this automatically. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/char/ipmi/Makefile |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/char/ipmi/Makefile b/drivers/char/ipmi/Makefile index 553f0a4..eb8a1a8 100644 --- a/d

[PATCH] [IPMI] remove unused target and action in Makefile

2008-02-26 Thread Denis Cheng
Kbuild system handle this automatically. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/char/ipmi/Makefile |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/char/ipmi/Makefile b/drivers/char/ipmi/Makefile index 553f0a4..eb8a1a8 100644 --- a/drivers

[PATCH 2/2] [GFS2] re-support special inode

2008-02-25 Thread Denis Cheng
, block device file, fifo pipe, and socket file, lose many important features as a common file system. this one line patch re add special inode support. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- fs/gfs2/inode.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/f

[PATCH 1/2] [GFS2] remove gfs2_dev_iops

2008-02-25 Thread Denis Cheng
struct inode_operations gfs2_dev_iops is always the same as gfs2_file_iops, since Jan 2006, when GFS2 merged into mainstream kernel. So one of them could be removed. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- fs/gfs2/inode.c |2 +- fs/gfs2/ops_inode.c | 10 -- f

[PATCH 1/2] [GFS2] remove gfs2_dev_iops

2008-02-25 Thread Denis Cheng
struct inode_operations gfs2_dev_iops is always the same as gfs2_file_iops, since Jan 2006, when GFS2 merged into mainstream kernel. So one of them could be removed. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/gfs2/inode.c |2 +- fs/gfs2/ops_inode.c | 10 -- fs/gfs2

[PATCH 2/2] [GFS2] re-support special inode

2008-02-25 Thread Denis Cheng
, block device file, fifo pipe, and socket file, lose many important features as a common file system. this one line patch re add special inode support. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/gfs2/inode.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/gfs2

[PATCH] drivers/block/: add __devinitdata to all pci_device_id table of block drivers

2008-02-02 Thread Denis Cheng
Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/block/DAC960.c |2 +- drivers/block/cciss.c|2 +- drivers/block/cpqarray.c |2 +- drivers/block/sx8.c |2 +- drivers/block/umem.c |2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff

[PATCH] xfs: add __init/__exit mark to specific init/cleanup functions

2008-02-02 Thread Denis Cheng
Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- fs/xfs/linux-2.6/xfs_super.c |2 +- fs/xfs/linux-2.6/xfs_vnode.c |2 +- fs/xfs/support/ktrace.c |4 ++-- fs/xfs/support/uuid.c|2 +- fs/xfs/xfs_vfsops.c |4 ++-- 5 files changed, 7 insertions

[PATCH 1/3] uio: Kconfig improvements

2008-02-02 Thread Denis Cheng
Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/uio/Kconfig | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig index b778ed7..d8ab7e6 100644 --- a/drivers/uio/Kconfig +++ b/drivers/uio/Kconfig @@ -1,

[PATCH 2/3] uio: mark pci_device_id hilscher_pci_ids[] __devinitdata

2008-02-02 Thread Denis Cheng
Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/uio/uio_cif.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/uio/uio_cif.c b/drivers/uio/uio_cif.c index 838bae4..4a5a97e 100644 --- a/drivers/uio/uio_cif.c +++ b/drivers/uio/uio_cif.c @@ -116,7

[PATCH 3/3] uio: vm_operations_struct ->nopage to ->fault method conversion

2008-02-02 Thread Denis Cheng
Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/uio/uio.c | 19 --- 1 files changed, 8 insertions(+), 11 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index cc246fa..47e0c32 100644 --- a/drivers/uio/uio.c +++ b/drivers/uio/uio.c @@ -417,30 +

[PATCH] ide-pci-generic: kill the unused ifdef/endif/MODULE code

2008-02-02 Thread Denis Cheng
de-pci-generic.all-generic-ide parameter also documented in Documentation/kernel-parameters.txt Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- Documentation/kernel-parameters.txt |3 +++ drivers/ide/pci/Makefile|3 ++- drivers/ide/pci/generic.c |

[PATCH] ide-pci-generic: kill the unused ifdef/endif/MODULE code

2008-02-02 Thread Denis Cheng
parameter also documented in Documentation/kernel-parameters.txt Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- Documentation/kernel-parameters.txt |3 +++ drivers/ide/pci/Makefile|3 ++- drivers/ide/pci/generic.c | 13 - 3 files changed, 5 insertions

[PATCH 1/3] uio: Kconfig improvements

2008-02-02 Thread Denis Cheng
Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/uio/Kconfig | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig index b778ed7..d8ab7e6 100644 --- a/drivers/uio/Kconfig +++ b/drivers/uio/Kconfig @@ -1,8 +1,6 @@ -menu

[PATCH 2/3] uio: mark pci_device_id hilscher_pci_ids[] __devinitdata

2008-02-02 Thread Denis Cheng
Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/uio/uio_cif.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/uio/uio_cif.c b/drivers/uio/uio_cif.c index 838bae4..4a5a97e 100644 --- a/drivers/uio/uio_cif.c +++ b/drivers/uio/uio_cif.c @@ -116,7 +116,7

[PATCH 3/3] uio: vm_operations_struct -nopage to -fault method conversion

2008-02-02 Thread Denis Cheng
Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/uio/uio.c | 19 --- 1 files changed, 8 insertions(+), 11 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index cc246fa..47e0c32 100644 --- a/drivers/uio/uio.c +++ b/drivers/uio/uio.c @@ -417,30 +417,27

[PATCH] xfs: add __init/__exit mark to specific init/cleanup functions

2008-02-02 Thread Denis Cheng
Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/xfs/linux-2.6/xfs_super.c |2 +- fs/xfs/linux-2.6/xfs_vnode.c |2 +- fs/xfs/support/ktrace.c |4 ++-- fs/xfs/support/uuid.c|2 +- fs/xfs/xfs_vfsops.c |4 ++-- 5 files changed, 7 insertions(+), 7

[PATCH] drivers/block/: add __devinitdata to all pci_device_id table of block drivers

2008-02-02 Thread Denis Cheng
Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/block/DAC960.c |2 +- drivers/block/cciss.c|2 +- drivers/block/cpqarray.c |2 +- drivers/block/sx8.c |2 +- drivers/block/umem.c |2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH] ide-core: remove conditional compiling with MODULE in ide-core.c

2008-02-01 Thread Denis Cheng
cs, module parameters also can be input on the kernel command line, with this style: ide-core.options="ide=nodma hdd=cdrom idebus=..." so Documentation/kernel-parameters.txt also updated. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- Documentation/kernel-parameters.txt |

[PATCH] wireless/ath5k: renamed to ath5k_pci_driver to fix Section mismatch warnings

2008-02-01 Thread Denis Cheng
the struct pci_driver refered ath5k_pci_id_table which in __devinit section, the sparse tool suggest this renamed to "*driver", kills mismatch warnings. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/net/wireless/ath5k/base.c |6 +++--- 1 files changed, 3

[PATCH] fs/dlm/: add __init and __exit marks to init and exit functions

2008-02-01 Thread Denis Cheng
it moves 365 bytes from .text to .init.text, and 30 bytes from .text to .exit.text, saves memory. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- fs/dlm/config.c|2 +- fs/dlm/debug_fs.c |2 +- fs/dlm/lockspace.c |2 +- fs/dlm/memory.c|2 +- fs/dlm/netlink.c

[PATCH] fs/dlm/: add __init and __exit marks to init and exit functions

2008-02-01 Thread Denis Cheng
it moves 365 bytes from .text to .init.text, and 30 bytes from .text to .exit.text, saves memory. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/dlm/config.c|2 +- fs/dlm/debug_fs.c |2 +- fs/dlm/lockspace.c |2 +- fs/dlm/memory.c|2 +- fs/dlm/netlink.c |4

[PATCH] wireless/ath5k: renamed to ath5k_pci_driver to fix Section mismatch warnings

2008-02-01 Thread Denis Cheng
the struct pci_driver refered ath5k_pci_id_table which in __devinit section, the sparse tool suggest this renamed to *driver, kills mismatch warnings. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/net/wireless/ath5k/base.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions

[PATCH] ide-core: remove conditional compiling with MODULE in ide-core.c

2008-02-01 Thread Denis Cheng
parameters also can be input on the kernel command line, with this style: ide-core.options=ide=nodma hdd=cdrom idebus=... so Documentation/kernel-parameters.txt also updated. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- Documentation/kernel-parameters.txt | 11 +-- drivers/ide/ide.c

[PATCH] fs/char_dev.c: chrdev_open marked static and removed from fs.h

2008-01-31 Thread Denis Cheng
there is an outdated comment in serial_core.c also fixed. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/serial/serial_core.c |4 ++-- fs/char_dev.c|2 +- include/linux/fs.h |1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff

[PATCH] fs/char_dev.c: chrdev_open marked static and removed from fs.h

2008-01-31 Thread Denis Cheng
there is an outdated comment in serial_core.c also fixed. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/serial/serial_core.c |4 ++-- fs/char_dev.c|2 +- include/linux/fs.h |1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git

[PATCH] dlm/user.c: static initialization improvements

2008-01-28 Thread Denis Cheng
also change name_prefix from char pointer to char array. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- fs/dlm/user.c | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/fs/dlm/user.c b/fs/dlm/user.c index 4f74154..2cc5415 100644 --- a/fs/dlm/user.c ++

[PATCH] dlm/user.c: static initialization improvements

2008-01-28 Thread Denis Cheng
also change name_prefix from char pointer to char array. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/dlm/user.c | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/fs/dlm/user.c b/fs/dlm/user.c index 4f74154..2cc5415 100644 --- a/fs/dlm/user.c +++ b/fs

[PATCH] USB: Use menuconfig objects

2008-01-24 Thread Denis Cheng
separately. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/usb/atm/Kconfig|9 - drivers/usb/gadget/Kconfig |9 + drivers/usb/serial/Kconfig | 11 --- 3 files changed, 13 insertions(+), 16 deletions(-) diff --git a/drivers/usb/atm/Kconfig b/drivers/u

[PATCH] USB: Use menuconfig objects

2008-01-24 Thread Denis Cheng
separately. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/usb/atm/Kconfig|9 - drivers/usb/gadget/Kconfig |9 + drivers/usb/serial/Kconfig | 11 --- 3 files changed, 13 insertions(+), 16 deletions(-) diff --git a/drivers/usb/atm/Kconfig b/drivers/usb/atm

[PATCH] kernel/params.c: fix the module name length in param_sysfs_builtin

2008-01-21 Thread Denis Cheng
in linux/module.h, I think this is enough for module names: #define MODULE_NAME_LEN (64 - sizeof(unsigned long)) Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- kernel/params.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/kernel/params.c b/kernel/params.c

[PATCH] kernel/params.c: fix the module name length in param_sysfs_builtin

2008-01-21 Thread Denis Cheng
this is enough for module names: #define MODULE_NAME_LEN (64 - sizeof(unsigned long)) Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- kernel/params.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/kernel/params.c b/kernel/params.c index 7686417..a085b40

[PATCH] kernel/params.c: fix the module name length in param_sysfs_builtin

2008-01-21 Thread Denis Cheng
in linux/module.h, I think this is enough for module names: #define MODULE_NAME_LEN (64 - sizeof(unsigned long)) Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- kernel/params.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/kernel/params.c b/kernel/params.c index

[PATCH] kernel/params.c: fix the module name length in param_sysfs_builtin

2008-01-21 Thread Denis Cheng
this is enough for module names: #define MODULE_NAME_LEN (64 - sizeof(unsigned long)) Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- kernel/params.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/kernel/params.c b/kernel/params.c index 7686417..a085b40 100644

[PATCH] PROC_FS: get and set the smp affinity of tasks by read-write /proc//smp_affinity

2008-01-03 Thread Denis Cheng
<[EMAIL PROTECTED]> Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- fs/proc/base.c | 57 1 files changed, 57 insertions(+), 0 deletions(-) diff --git a/fs/proc/base.c b/fs/proc/base.c index 7411bfb..ca0cbc2 100644 --- a/fs

[PATCH] PROC_FS: get and set the smp affinity of tasks by read-write /proc/pid/smp_affinity

2008-01-03 Thread Denis Cheng
: Eli M Dow [EMAIL PROTECTED] Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/proc/base.c | 57 1 files changed, 57 insertions(+), 0 deletions(-) diff --git a/fs/proc/base.c b/fs/proc/base.c index 7411bfb..ca0cbc2 100644 --- a/fs/proc

[PATCH] 3W RAID drivers: memset not needed in probe

2007-12-08 Thread Denis Cheng
the memory return from scsi_host_alloc is alloced by kzalloc, which is already zero initilized, so memset not needed. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/scsi/3w-9xxx.c |2 -- drivers/scsi/3w-.c |2 -- 2 files changed, 0 insertions(+), 4 deletions(-)

[PATCH] 3W RAID drivers: memset not needed in probe

2007-12-08 Thread Denis Cheng
the memory return from scsi_host_alloc is alloced by kzalloc, which is already zero initilized, so memset not needed. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/scsi/3w-9xxx.c |2 -- drivers/scsi/3w-.c |2 -- 2 files changed, 0 insertions(+), 4 deletions(-) diff --git

[PATCH 20/20] net/iucv/iucv.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
these three list_head are all local variables, but can also use LIST_HEAD. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- net/iucv/iucv.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/iucv/iucv.c b/net/iucv/iucv.c index 7698f6c..f13fe88 100644 --- a/ne

[PATCH 18/20] drivers/char/ipmi/ipmi_msghandler.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
these three list_head are all local variables, but can also use LIST_HEAD. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/char/ipmi/ipmi_msghandler.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/cha

[PATCH 19/20] drivers/dma/iop-adma.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
these three list_head are all local variables, but can also use LIST_HEAD. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/dma/iop-adma.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dma/iop-adma.c b/drivers/dma/iop-adma.c index e5c62b7..b

[PATCH 17/20] net/xfrm/xfrm_state.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- net/xfrm/xfrm_state.c |2 +- 1 files changed, 1 insertions(+), 1 del

[PATCH 16/20] net/x25/: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- net/x25/x25_forward.c |2 +- net/x25/x25_link.c|2 +- n

[PATCH 15/20] net/lapb/lapb_iface.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- net/lapb/lapb_iface.c |2 +- 1 files changed, 1 insertions(+), 1 del

[PATCH 14/20] net/ipv4/cipso_ipv4.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- net/ipv4/cipso_ipv4.c |2 +- 1 files changed, 1 insertions(+), 1 del

[PATCH 13/20] net/core/dev.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- net/core/dev.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

[PATCH 12/20] fs/reiserfs/xattr.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- fs/reiserfs/xattr.c |2 +- 1 files changed, 1 insertions(+), 1 del

[PATCH 11/20] fs/afs/cell.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- fs/afs/cell.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

[PATCH 10/20] drivers/scsi/ipr.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/scsi/ipr.c |2 +- 1 files changed, 1 insertions(+), 1 del

[PATCH 09/20] drivers/s390/: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/s390/block/dcssblk.c |2 +- drivers/s390/char/raw3270.c

[PATCH 09/20] drivers/s390/: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/s390/block/dcssblk.c |2 +- drivers/s390/char/raw3270.c |4

[PATCH 10/20] drivers/scsi/ipr.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/scsi/ipr.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[PATCH 11/20] fs/afs/cell.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/afs/cell.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 12/20] fs/reiserfs/xattr.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/reiserfs/xattr.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[PATCH 13/20] net/core/dev.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- net/core/dev.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[PATCH 14/20] net/ipv4/cipso_ipv4.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- net/ipv4/cipso_ipv4.c |2 +- 1 files changed, 1 insertions(+), 1 deletions

[PATCH 15/20] net/lapb/lapb_iface.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- net/lapb/lapb_iface.c |2 +- 1 files changed, 1 insertions(+), 1 deletions

[PATCH 16/20] net/x25/: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- net/x25/x25_forward.c |2 +- net/x25/x25_link.c|2 +- net/x25/x25_route.c

[PATCH 17/20] net/xfrm/xfrm_state.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- net/xfrm/xfrm_state.c |2 +- 1 files changed, 1 insertions(+), 1 deletions

[PATCH 18/20] drivers/char/ipmi/ipmi_msghandler.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
these three list_head are all local variables, but can also use LIST_HEAD. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/char/ipmi/ipmi_msghandler.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi

[PATCH 19/20] drivers/dma/iop-adma.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
these three list_head are all local variables, but can also use LIST_HEAD. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/dma/iop-adma.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dma/iop-adma.c b/drivers/dma/iop-adma.c index e5c62b7..b011b5a

[PATCH 20/20] net/iucv/iucv.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-06 Thread Denis Cheng
these three list_head are all local variables, but can also use LIST_HEAD. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- net/iucv/iucv.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/iucv/iucv.c b/net/iucv/iucv.c index 7698f6c..f13fe88 100644 --- a/net/iucv

[PATCH 08/20] drivers/net/wan/lapbether.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-05 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/net/wan/lapbether.c |2 +- 1 files changed, 1 insertions

[PATCH 07/20] drivers/edac/: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-05 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/edac/edac_device.c |2 +- drivers/edac/edac_mc.c |2 +- d

[PATCH 07/20] drivers/edac/: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-05 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/edac/edac_device.c |2 +- drivers/edac/edac_mc.c |2 +- d

[PATCH 06/20] drivers/char: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-05 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/char/hvc_console.c |2 +- drivers/char/

[PATCH 05/20] crypto/async_tx/async_tx.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-05 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- crypto/async_tx/async_tx.c |3 +-- 1 files changed, 1 insertions

[PATCH 04/20] arch/x86/mm/pageattr_32.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-05 Thread Denis Cheng
Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- arch/x86/mm/pageattr_32.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/mm/pageattr_32.c b/arch/x86/mm/pageattr_32.c index 260073c..f223cc0 100644 --- a/arch/x86/mm/pageattr_32.c +++ b/arch/x86/mm/pagea

[PATCH] drivers/base: use LIST_HEAD instead of call to INIT_LIST_HEAD in __init

2007-12-05 Thread Denis Cheng
LIST_HEAD has been widely used, so switch to this simpler method. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/base/attribute_container.c |9 + drivers/base/base.h|1 - drivers/base/init.c|1 - 3 files changed, 1 insertions(

[PATCH 07/20] drivers/edac/: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-05 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/edac/edac_device.c |2 +- drivers/edac/edac_mc.c |2 +- drivers

[PATCH] drivers/base: use LIST_HEAD instead of call to INIT_LIST_HEAD in __init

2007-12-05 Thread Denis Cheng
LIST_HEAD has been widely used, so switch to this simpler method. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/base/attribute_container.c |9 + drivers/base/base.h|1 - drivers/base/init.c|1 - 3 files changed, 1 insertions(+), 10

[PATCH 05/20] crypto/async_tx/async_tx.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-05 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- crypto/async_tx/async_tx.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions

[PATCH 07/20] drivers/edac/: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-05 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/edac/edac_device.c |2 +- drivers/edac/edac_mc.c |2 +- drivers

[PATCH 06/20] drivers/char: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-05 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/char/hvc_console.c |2 +- drivers/char/hvcs.c

[PATCH 04/20] arch/x86/mm/pageattr_32.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-05 Thread Denis Cheng
Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- arch/x86/mm/pageattr_32.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/mm/pageattr_32.c b/arch/x86/mm/pageattr_32.c index 260073c..f223cc0 100644 --- a/arch/x86/mm/pageattr_32.c +++ b/arch/x86/mm/pageattr_32.c

[PATCH 08/20] drivers/net/wan/lapbether.c: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-05 Thread Denis Cheng
single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/net/wan/lapbether.c |2 +- 1 files changed, 1 insertions(+), 1 deletions

[PATCH] mm/backing-dev.c: fix percpu_counter_destroy call bug in bdi_init

2007-12-02 Thread Denis Cheng
gh, int j is not needed. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- mm/backing-dev.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/backing-dev.c b/mm/backing-dev.c index b0ceb29..e8644b1 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c @@ -7,7 +7,7 @@

[PATCH] mm/backing-dev.c: fix percpu_counter_destroy call bug in bdi_init

2007-12-02 Thread Denis Cheng
is not needed. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- mm/backing-dev.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/backing-dev.c b/mm/backing-dev.c index b0ceb29..e8644b1 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c @@ -7,7 +7,7 @@ int

[PATCH] [RESEND] crypto test: use print_hex_dump from kernel.h instead

2007-11-26 Thread Denis Cheng
Cc: Randy Dunlap <[EMAIL PROTECTED]> Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- this is against the lastest cryptodev tree. crypto/tcrypt.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 1e12b86..ae

[PATCH] [RESEND] crypto test: use print_hex_dump from instead

2007-11-26 Thread Denis Cheng
ap <[EMAIL PROTECTED]> Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- crypto/tcrypt.c | 30 -- 1 files changed, 16 insertions(+), 14 deletions(-) diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 24141fb..665aa87 100644 --- a/crypto/tcrypt.c +++ b/cry

[PATCH] [RESEND] crypto test: use print_hex_dump from linux/kernel.h instead

2007-11-26 Thread Denis Cheng
PROTECTED] Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- crypto/tcrypt.c | 30 -- 1 files changed, 16 insertions(+), 14 deletions(-) diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 24141fb..665aa87 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -81,14 +81,6

[PATCH] [RESEND] crypto test: use print_hex_dump from kernel.h instead

2007-11-26 Thread Denis Cheng
Cc: Randy Dunlap [EMAIL PROTECTED] Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- this is against the lastest cryptodev tree. crypto/tcrypt.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 1e12b86..ae762c2 100644

[PATCH 2/2] ide-scsi: use print_hex_dump from

2007-11-25 Thread Denis Cheng
these utilities implemented in lib/hexdump.c are more handy, please use this. Cc: Randy Dunlap <[EMAIL PROTECTED]> Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- there are still much other private hexdump implementations in the source, which reinvent the wheel, we can find

[PATCH 1/2] crypto test: use print_hex_dump from

2007-11-25 Thread Denis Cheng
these utilities implemented in lib/hexdump.c are more handy, please use this. Cc: Randy Dunlap <[EMAIL PROTECTED]> Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- crypto/tcrypt.c | 21 +++-- 1 files changed, 7 insertions(+), 14 deletions(-) diff --git a/crypt

[PATCH 1/2] crypto test: use print_hex_dump from linux/kernel.h

2007-11-25 Thread Denis Cheng
these utilities implemented in lib/hexdump.c are more handy, please use this. Cc: Randy Dunlap [EMAIL PROTECTED] Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- crypto/tcrypt.c | 21 +++-- 1 files changed, 7 insertions(+), 14 deletions(-) diff --git a/crypto/tcrypt.c b/crypto

[PATCH 2/2] ide-scsi: use print_hex_dump from linux/kernel.h

2007-11-25 Thread Denis Cheng
these utilities implemented in lib/hexdump.c are more handy, please use this. Cc: Randy Dunlap [EMAIL PROTECTED] Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- there are still much other private hexdump implementations in the source, which reinvent the wheel, we can find them through: $ grep

[PATCH] SLUB: killed the unused "end" variable

2007-11-12 Thread Denis Cheng
Since the macro "for_each_object" introduced, the "end" variable becomes unused anymore. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- mm/slub.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index 84f59fd..9acb

[PATCH] SLUB: killed the unused end variable

2007-11-12 Thread Denis Cheng
Since the macro for_each_object introduced, the end variable becomes unused anymore. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- mm/slub.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index 84f59fd..9acb413 100644 --- a/mm/slub.c +++ b/mm

[PATCH] [sysfs]: make readlink result shorter when the symlink and its target shared some base sysfs subdirectory

2007-10-31 Thread Denis Cheng
000448 Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- fs/sysfs/symlink.c | 38 +++--- 1 files changed, 27 insertions(+), 11 deletions(-) diff --git a/fs/sysfs/symlink.c b/fs/sysfs/symlink.c index 3eac20c..230a925 100644 --- a/fs/sysfs/symlink.c +++ b/fs/sys

[PATCH] [sysfs]: make readlink result shorter when the symlink and its target shared some base sysfs subdirectory

2007-10-31 Thread Denis Cheng
Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/sysfs/symlink.c | 38 +++--- 1 files changed, 27 insertions(+), 11 deletions(-) diff --git a/fs/sysfs/symlink.c b/fs/sysfs/symlink.c index 3eac20c..230a925 100644 --- a/fs/sysfs/symlink.c +++ b/fs/sysfs/symlink.c

[PATCH] [net/ipv4]: fib_seq_show function adjustment to get a more sensable output of /proc/net/route

2007-10-22 Thread Denis Cheng
0 00FF0 0 0 eth00101A8C000030 0 0 0 0 0 Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- net/ipv4/fib_hash.c | 15 +++ 1 files changed, 7 insertions(+), 8 del

[PATCH] [net/ipv4]: fib_seq_show function adjustment to get a more sensable output of /proc/net/route

2007-10-22 Thread Denis Cheng
0 00FF0 0 0 eth00101A8C000030 0 0 0 0 0 Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- net/ipv4/fib_hash.c | 15 +++ 1 files changed, 7 insertions(+), 8 deletions

[PATCH] fs/ocfs2/: removed unneeded initial value and function's return value

2007-09-26 Thread Denis Cheng
Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- fs/ocfs2/super.c | 17 - 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index c034b51..b98ec12 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c @@ -105,7 +105,7 @@

[PATCH] fs/ocfs2/: removed unneeded initial value and function's return value

2007-09-26 Thread Denis Cheng
Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/ocfs2/super.c | 17 - 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index c034b51..b98ec12 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c @@ -105,7 +105,7 @@ static int

[PATCH] fs/dcache.c: revamped to use a more straightforward and efficient way to operate

2007-09-25 Thread Denis Cheng
Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- fs/dcache.c | 39 ++- 1 files changed, 18 insertions(+), 21 deletions(-) diff --git a/fs/dcache.c b/fs/dcache.c index 678d39d..05ed44a 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -1138,29 +1

[PATCH] fs/dcache.c: revamped to use a more straightforward and efficient way to operate

2007-09-25 Thread Denis Cheng
Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/dcache.c | 39 ++- 1 files changed, 18 insertions(+), 21 deletions(-) diff --git a/fs/dcache.c b/fs/dcache.c index 678d39d..05ed44a 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -1138,29 +1138,26 @@ struct

[PATCH] vfs: use the predefined d_unhashed inline function instead

2007-09-23 Thread Denis Cheng
Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- fs/dcache.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/dcache.c b/fs/dcache.c index 678d39d..62e1800 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -1546,7 +1546,7 @@ static void d_move_locked(struct

[PATCH] vfs: use the predefined d_unhashed inline function instead

2007-09-23 Thread Denis Cheng
Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/dcache.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/dcache.c b/fs/dcache.c index 678d39d..62e1800 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -1546,7 +1546,7 @@ static void d_move_locked(struct dentry * dentry

[PATCH 2/2] drivers/net/: all drivers/net/ cleanup with ARRAY_SIZE

2007-09-02 Thread Denis Cheng
Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- drivers/net/apne.c |2 +- drivers/net/arm/am79c961a.c|2 +- drivers/net/atarilance.c |2 +- drivers/net/atl1/atl1_hw.c |2 +- drivers/net/

[PATCH 1/2] net/: all net/ cleanup with ARRAY_SIZE

2007-09-02 Thread Denis Cheng
Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- net/atm/proc.c |2 +- net/decnet/dn_dev.c |2 +- net/ipv4/af_inet.c |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/atm/proc.c b/net/atm/proc.c index 99fc1fe..a3e52ff 100644 --- a/net/atm/proc.c

  1   2   >