We should prefer `const struct pci_device_id` over
`DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines.
This issue was reported by checkpatch.
A simplified version of the semantic patch that makes this change is as
follows (http://coccinelle.lip6.fr/):
//
@@
identifier i;
declarer
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors except:
- drivers/net/ethernet/pasemi/pasemi_mac.c
- drivers/net/ethernet
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Not tested.
drivers/net/ethernet/pasemi/pasemi_mac.c |2 +-
1 file changed, 1 insertion(+), 1 deletion
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c |2 +-
1 file
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/wan/dscc4.c |2 +-
1 file changed, 1 insertion(+), 1
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/ethernet/amd/pcnet32.c |2 +-
1 file changed, 1 insertion
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/ethernet/brocade/bna/bnad.c |2 +-
1 file changed, 1
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c |2 +-
1 file
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Not tested.
drivers/net/ethernet/sgi/ioc3-eth.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/ethernet/adaptec/starfire.c |2 +-
1 file changed, 1
We should prefer `const struct pci_device_id` over
`DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines.
This issue was reported by checkpatch.
A simplified version of the semantic patch that makes this change is as
follows (http://coccinelle.lip6.fr/):
//
@@
identifier i;
declarer
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/scsi/BusLogic.c |2 +-
1 file changed, 1 insertion(+), 1
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/arcnet/com20020-pci.c|2 +-
drivers
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Not tested.
drivers/net/irda/donauboe.c |2 +-
drivers/net/irda/via-ircc.c |2 +-
drivers/net/irda
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/platform/x86/intel_ips.c |2 +-
drivers/platform/x86
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/ethernet/via/via-rhine.c |2 +-
1 file changed, 1
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/ethernet/neterion/s2io.c |2 +-
drivers/net
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/block/rsxx/core.c |2 +-
1 file changed, 1 insertion(+), 1
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/wireless/adm8211.c |2 +-
1 file changed, 1 insertion
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Not tested.
drivers/net/wireless/iwlegacy/3945.c |2 +-
drivers/net/wireless/iwlegacy/4965-mac.c |2
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/infiniband/hw/mlx5/main.c |2 +-
1 file changed, 1 insertion
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/ethernet/realtek/r8169.c |2 +-
1 file changed, 1
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/wireless/hostap/hostap_pci.c |2 +-
drivers/net/wireless
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/ipack/carriers/tpci200.c |2 +-
1 file changed, 1 insertion
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/wireless/rt2x00/rt2400pci.c |2 +-
drivers/net/wireless
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/virtio/virtio_pci.c |2 +-
1 file changed, 1 insertion(+), 1
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/ethernet/emulex/benet/be_main.c |2 +-
1 file changed, 1
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/ethernet/smsc/smsc9420.c |2 +-
1 file changed, 1
On 18/07/2014 17:38, Andrey Utkin wrote:
> Is there script for automated checkpatch.pl && get_maintainers.pl &&
> git send-email for range of commits? I see none. Would it be welcome
> to submit such one to kernel tree?
You can use `splitpatch` to split a patch into multiple mails with the
correct
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/resource_size.cocci
Signed-off-by: Benoit Taine
---
Not compile tested, due incompatible architecture.
Changes from V4:
- Added blank line a the end of the diff (Thank to David Miller for your
patience
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/resource_size.cocci
Signed-off-by: Benoit Taine
---
Not compile tested, due incompatible architecture.
Changes from V3:
- should now apply correctly
Changes from V2:
- added line break to debug message
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/resource_size.cocci
Signed-off-by: Benoit Taine
---
Not compile tested, due incompatible architecture.
Changes from V2:
- added line break to debug message
Changes from V1:
- Use %pR format type with
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/resource_size.cocci
Signed-off-by: Benoit Taine
---
Not compile tested, due incompatible architecture.
diff --git a/drivers/net/ethernet/nxp/lpc_eth.c
b/drivers/net/ethernet/nxp/lpc_eth.c
index 422d9b5
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/resource_size.cocci
Signed-off-by: Benoit Taine
---
Not compile tested, due incompatible architecture.
drivers/net/ethernet/nxp/lpc_eth.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/resource_size.cocci
Signed-off-by: Benoit Taine
---
Not compile tested, due incompatible architecture.
sound/mips/au1x00.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a
These patches enhance kernel style usage, and make use of the
resource_size() function instead of explicit computation.
The semantic patch at scripts/coccinelle/api/resource_size.cocci was
used to detect and edit this situation.
--
To unsubscribe from this list: send the line "unsubscribe linux-ke
On 26/05/2014 17:43, Jes Sorensen wrote:
> Benoit Taine writes:
> > This issue was reported by coccicheck using the semantic patch
> > at scripts/coccinelle/api/memdup.cocci
> >
> > Signed-off-by: Benoit Taine
> > ---
> > Tested by compilation without err
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/usb/storage/ene_ub6250.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/usb
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/memstick/core/mspro_block.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/usb/r8152.c |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/net/usb/r8152.c
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/misc/vmw_vmci/vmci_datagram.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/net/wireless/ath/wcn36xx/smd.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/hid/uhid.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/hid/uhid.c b
These patches enhance kernel style usage, and allows smaller code while
preventing accidental code edits to produce overflows.
The semantic patch at scripts/coccinelle/api/memdup.cocci was used to
detect and edit this situation.
--
To unsubscribe from this list: send the line "unsubscribe linux-ke
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Not compile tested.
drivers/media/dvb-frontends/drx39xyj/drxj.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/drivers
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/gpu/drm/drm_edid.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/message/fusion/mptbase.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/message
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/scsi/aic7xxx/aic79xx_core.c |4 ++--
drivers/scsi/aic7xxx/aic7xxx_core.c |4 ++--
2 files changed, 4
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/scsi/qla4xxx/ql4_os.c |7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/scsi/mpt2sas/mpt2sas_scsih.c |4 +---
drivers/scsi/mpt3sas/mpt3sas_scsih.c |3 +--
2 files changed, 2
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/scsi/aacraid/commctrl.c |7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/scsi/qla2xxx/qla_mbx.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/scsi
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c |3 +--
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 16
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/media/platform/soc_camera/soc_camera.c |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Tested by compilation without errors.
drivers/usb/gadget/configfs.c|4 +---
drivers/usb/gadget/lpc32xx_udc.c |3 +--
2 files changed, 2 insertions
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci
Signed-off-by: Benoit Taine
---
Not compile tested, due incompatible architecture.
drivers/pinctrl/pinconf-generic.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a
name DEFINE_PCI_DEVICE_TABLE;
initializer z;
@@
- DEFINE_PCI_DEVICE_TABLE(i)
+ const struct pci_device_id i[]
= z;
//
It has been tested by compilation.
Signed-off-by: Benoit Taine
---
sound/pci/hda/hda_intel.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci
)
+S
//
It has been tested by compilation.
Signed-off-by: Benoit Taine
---
fs/nfsd/nfs2acl.c | 12
fs/nfsd/nfs3acl.c |6 --
fs/nfsd/nfs3xdr.c | 27 ++-
fs/nfsd/nfsxdr.c | 15 ++-
4 files changed, 40 insertions(+), 20 deletions
This issue was reported by coccicheck using the semantic patch
at scripts/coccinelle/api/memdup.cocci, and tested by compilation.
Signed-off-by: Benoit Taine
---
drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c |3 +--
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 17
This patch enhances kernel style usage for the rts5208 driver.
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.
Signed-off-by: Benoit Taine
---
drivers/staging/rts5208/rtsx.c |2 +-
1 file
; @@
- EXPORT_SYMBOL(f);
@@ identifier r.f; @@
f(...) { ... }
+ EXPORT_SYMBOL(f);
//
Signed-off-by: Benoit Taine
---
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c |3
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c| 52 +-
drivers/staging/rtl8192u/ieee80211
61 matches
Mail list logo