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
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
,
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
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
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
,
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
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
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
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,
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
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 +
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 |
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
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
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
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
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
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
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 |
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
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
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
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
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
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
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
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
++
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
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
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
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
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
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
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
<[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
: 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
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(-)
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
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
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
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
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
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
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
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
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(-)
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
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(-)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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/
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
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
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(
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
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
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
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
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
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
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
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 @@
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 @@
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
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
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
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
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
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/
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 - 100 of 177 matches
Mail list logo