the
assignment to SR1 into the loop, which I prefer to start at 0.
Signed-off-by: Peter Huewe
---
drivers/staging/xgifb/vb_setmode.c | 23 ++-
drivers/staging/xgifb/vb_table.h |2 +-
2 files changed, 7 insertions(+), 18 deletions(-)
diff --git a/drivers/staging/xgifb
This patch simplifies the code of XGISetModeNew by reordering the
if/else if/case conditions when both branches are doing exactly the
same.
Signed-off-by: Peter Huewe
---
drivers/staging/xgifb/vb_setmode.c | 18 +++---
1 files changed, 3 insertions(+), 15 deletions(-)
diff --git
Since data can only be 0x, 0x0035 or 0x0048 we can simply skip the
bit shifting and masking as data & 0xFF is always equal to data and
data & 0xFF00 is always 0.
So we simply use data and 0 directly and save the assignment.
Signed-off-by: Peter Huewe
---
drivers/staging/xgifb/vb_s
patch initializes the variable in this case.
Signed-off-by: Peter Huewe
---
drivers/staging/xgifb/XGI_main_26.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/staging/xgifb/XGI_main_26.c
b/drivers/staging/xgifb/XGI_main_26.c
index fa351f9..106abc8 100644
--- a/drivers/s
-of-bounds access I changed the mask from 0x0F
to 0x07 and added a dummy value.
Signed-off-by: Peter Huewe
---
Please apply this series after my previous one
[PATCH 1/6] staging/xgifb: Remove unused variables and dead assignments
[PATCH 2/6] staging/xgifb: Remove unused variable
[PATCH 3/6] staging
If the platform does not provide virt_to_bus the ni_labpc.c driver fails to
compile.
In order not to break these builds we have to add a depends on
CONFIG_VIRT_TO_BUS to the affected drivers.
Reported-by: Geert Uytterhoeven
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/Kconfig | 3
e tree.
tpm_i2c_infineon is also retained as a compatible id as a fallback to
slb9635 protocol.
The driver was tested on Beaglebone.
Signed-off-by: Peter Huewe
---
Please apply on top of "char/tpm: Convert struct i2c_msg initialization to C99
format" by Shubhrajyoti Datta
.../d
From: Peter Huewe
Depending on the implementation strcmp might return the difference between
two strings not only -1,0,1 consequently
if (strcmp (a,b) == -1)
might lead to taking the wrong branch
-> compare with < 0 instead,
which in any case is more canonical.
Cc: sta...@vger.kern
apply manually due to commit
191ffc6bde3 tpm/tpm_i2c_atmel: fix coccinelle warnings]
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm-interface.c| 10 --
drivers/char/tpm/tpm.h | 6 +++---
drivers/char/tpm/tpm_atmel.c| 2 +-
drivers/char/tpm/tpm_i2c_atmel.c
used to declare sysfs attributes
with DEVICE_ATTR_RO and 'struct attribute *'
Signed-off-by: Jason Gunthorpe
[phuewe: had to apply the tpm_i2c_atmel part manually due to commit
191ffc6bde3fc tpm/tpm_i2c_atmel: fix coccinelle warnings]
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm
From: Michal Nazarewicz
“wait” wait queue is defined but never used in the function, thus
it can be removed.
Signed-off-by: Michal Nazarewicz
Acked-by: Jason Gunthorpe
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm_i2c_nuvoton.c | 1 -
1 file changed, 1 deletion(-)
diff --git
-by: Jason Gunthorpe
Reviewed-by: Joel Schopp
Reviewed-by: Ashley Lai
[phuewe:
tpm_dev_release is now used only in this file, thus the EXPORT_SYMBOL
can be dropped and the function be marked as static.
It has no other in-kernel users]
Signed-off-by: Peter Huewe
---
drivers/char/tpm/Makefile
and is called tpm_pcr_read_dev.
Signed-off-by: Jason Gunthorpe
Signed-off-by: Peter Huewe
---
drivers/char/tpm/Makefile| 2 +-
drivers/char/tpm/tpm-interface.c | 275 +-
drivers/char/tpm/tpm-sysfs.c | 281
From: Peter Huewe
- removing stale/inactive maintainers
- removing stale/outdated website
- regrouped maintainers
Signed-off-by: Peter Huewe
---
MAINTAINERS | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index d5e4ff3..3924b10 100644
From: Fengguang Wu
so we make it static
CC: Jason Gunthorpe
CC: Peter Huewe
Signed-off-by: Fengguang Wu
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm-sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/tpm/tpm-sysfs.c b/drivers/char/tpm/tpm
Gunthorpe
CC: Peter Huewe
Acked-by: Jason Gunthorpe
Signed-off-by: Fengguang Wu
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm_i2c_atmel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/tpm/tpm_i2c_atmel.c b/drivers/char/tpm/tpm_i2c_atmel.c
index c3cd7fe
Gunthorpe
Reviewed-by: Joel Schopp
Reviewed-by: Ashley Lai
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm-dev.c | 100 ++---
drivers/char/tpm/tpm.h | 7
2 files changed, 57 insertions(+), 50 deletions(-)
diff --git a/drivers/char/tpm/tpm
From: Peter Huewe
smatch complains:
drivers/char/tpm/tpm_ibmvtpm.c:510
ibmvtpm_crq_process() info: ignoring unreachable code.
-> The return is not necessary here, remove it
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm_ibmvtpm.c | 1 -
1 file changed, 1 deletion(-)
diff --
legacy pm_ops'
Also, unpon reviewing, the #ifdefs around tpm_tis_pm are not right, the first
reference is protected, the second is not. tpm_tis_pm is always defined so we
can drop the #ifdef.
Signed-off-by: Jason Gunthorpe
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm_tis.c | 6 +-
1
From: Peter Huewe
The 'get_burstcount' function can in some circumstances 'return -EBUSY' which
in tpm_stm_i2c_send is stored in an 'u32 burstcnt'
thus converting the signed value into an unsigned value, resulting
in 'burstcnt' being huge.
Changing the type to u32 only does not solve the problem
From: Peter Huewe
If
status = acpi_get_name(handle, ACPI_FULL_PATHNAME, );
fails for whatever reason and does not return AE_OK
if (strstr(buffer.pointer, context) != NULL) {
does dereference a null pointer.
-> Check the return value and return the status to the caller
Found by coverity
From: Jason Gunthorpe
This builds on the last commit to use the ops structure in the core
and reduce the size of tpm_vendor_specific.
Signed-off-by: Jason Gunthorpe
Reviewed-by: Joel Schopp
Reviewed-by: Ashley Lai
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm-interface.c| 34
Hi Jason, Ashley,
I just pushed the changes to my github tree
https://github.com/PeterHuewe/linux-tpmdd/commits/for-james
along with some additional changes:
- before the rename I made tpm.c checkpatch clean ;)
- I did some cleanup on the indention / white spaces of both Kconfig and
bindings
This patch changes the displayed module name from
tpm_tis_i2c_infineon to its actual name tpm_i2c_infineon
and from tpm_stm_st33_i2c to tpm_i2c_stm_st33
Signed-off-by: Peter Huewe
---
drivers/char/tpm/Kconfig |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers
just like the other entries
Signed-off-by: Peter Huewe
---
drivers/char/tpm/Kconfig | 16
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/char/tpm/Kconfig b/drivers/char/tpm/Kconfig
index 4716af5..4dd4363 100644
--- a/drivers/char/tpm/Kconfig
+++ b
> Do you need to add your sign off lines on these patches?
Added to all patches.
Peter
--
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
on behalf of myself, trying to be as vendor neutral as possible.
Signed-off-by: Peter Huewe
---
MAINTAINERS |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4fde706..936adb4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8475,6 +8475,7 @@ F
From: Jason Gunthorpe
Just put the memory directly in the chip structure, rather than
in a 2nd dedicated kmalloc.
Signed-off-by: Jason Gunthorpe
Reviewed-by: Joel Schopp
Reviewed-by: Peter Huewe
Signed-off-by: Peter Huewe
Acked-by: Ashley Lai
---
drivers/char/tpm/tpm.c | 17
off-by: Jason Gunthorpe
Reviewed-by: Joel Schopp
Reviewed-by: Peter Huewe
Acked-by: Ashley Lai
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm.c | 21 -
1 files changed, 4 insertions(+), 17 deletions(-)
diff --git a/drivers/char/tpm/tpm.c b/drivers/char/tpm/tpm.c
in
From: Jason Gunthorpe
This suppresses compile warnings on 32 bit builds.
Signed-off-by: Jason Gunthorpe
Reviewed-by: Joel Schopp
Reviewed-by: Peter Huewe
Signed-off-by: Peter Huewe
Acked-by: Ashley Lai
---
drivers/char/tpm/tpm_ibmvtpm.c |4 ++--
1 files changed, 2 insertions(+), 2
on behalf of myself, trying to be as vendor neutral as possible.
Signed-off-by: Peter Huewe
---
MAINTAINERS |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4fde706..936adb4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8475,6 +8475,7 @@ F
Reviewed-by: Joel Schopp
Reviewed-by: Peter Huewe
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm_atmel.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/char/tpm/tpm_atmel.c b/drivers/char/tpm/tpm_atmel.c
index 99d6820..c9a528d 100644
--- a/driver
Gunthorpe
Reviewed-by: Joel Schopp
Reviewed-by: Peter Huewe
Acked-by: Ashley Lai
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm_i2c_infineon.c |2 --
drivers/char/tpm/tpm_i2c_stm_st33.c |2 --
drivers/char/tpm/xen-tpmfront.c |2 --
3 files changed, 0 insertions(+), 6 deletions
rpe
Reviewed-by: Joel Schopp
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm_i2c_stm_st33.c |8
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/drivers/char/tpm/tpm_i2c_stm_st33.c
b/drivers/char/tpm/tpm_i2c_stm_st33.c
index 1c68d93..b2390b6 100644
--- a/drivers/c
eg = <0x29>;
};
Signed-off-by: Teddy Reed
[jgg: revised and tested]
Signed-off-by: Jason Gunthorpe
[phuewe: minor whitespace changes]
Signed-off-by: Peter Huewe
---
.../devicetree/bindings/i2c/trivial-devices.txt|1 +
drivers/char/tpm/Kconfig |9 +
drivers/c
This patch changes the displayed module name from
tpm_tis_i2c_infineon to its actual name tpm_i2c_infineon.
Signed-off-by: Peter Huewe
---
drivers/char/tpm/Kconfig |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/char/tpm/Kconfig b/drivers/char/tpm/Kconfig
index
just like the other entries
Signed-off-by: Peter Huewe
---
drivers/char/tpm/Kconfig | 16
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/char/tpm/Kconfig b/drivers/char/tpm/Kconfig
index dd7a82b..1a65838 100644
--- a/drivers/char/tpm/Kconfig
+++ b
-by: Jason Gunthorpe
Signed-off-by: Peter Huewe
---
drivers/char/tpm/Makefile |7 +++
drivers/char/tpm/tpm_eventlog.c |3 ---
drivers/char/tpm/tpm_ppi.c |4
3 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/drivers/char/tpm/Makefile b/drivers/char/tpm
orpe
[phuewe: minor whitespace changes, fixed module name in kconfig]
Signed-off-by: Peter Huewe
---
.../devicetree/bindings/i2c/trivial-devices.txt|2 +
drivers/char/tpm/Kconfig | 10 +
drivers/char/tpm/Makefile |1 +
dri
auto-detects what
interface the TPM supports at run-time.
Signed-off-by: Jason Gunthorpe
Reviewed-by: Joel Schopp
Reviewed-by: Peter Huewe
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm.c | 56 ++
drivers/char/tpm/tpm.h |2
ors, 7 warnings, 1554 lines checked
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm.c | 44 ++--
1 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/drivers/char/tpm/tpm.c b/drivers/char/tpm/tpm.c
index 72f0c68..6ae41d3 100644
--- a/dr
Hi Joel,
> Gesendet: Dienstag, 22. Oktober 2013 um 19:55 Uhr
> Von: "Joel Schopp"
> I have no objection to you adding yourself here. I do think we should
> probably also cut the list down at the same time as I don't think all
> the listed maintainers are active anymore. Also, the list is
Hi Rajiv,
> Long time, no see..
Good to see you again.
> Peter, thank you a ton for stepping in.
> Since you're of course the owner (yes, we need such figure),
> let me know if my help is desirable or if you think there isn't
> additional bandwidth needed to maintain it.
Thanks for the offer - I
Hi Jason,
> > Speaking of which, has anyone looked at the rest of my series?? Shall
> > I repost it?
> Jason Gunthorpe:
> tpm: Pull everything related to /dev/tpmX into tpm-dev.c
> tpm: Pull everything related to sysfs into tpm-sysfs.c
> tpm: Create a tpm_class_ops structure and use it in the
As the subject says.
It's probably a good idea to have these fields populated.
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm_i2c_infineon.c | 21 ++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/drivers/char/tpm/tpm_i2c_infineon.c
b/drivers/char/tpm
Kent Yoder indicated that the code might be a bit clearer with a comment
here, so this patch adds a small explanation of the code.
CC: Kent Yoder
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm_i2c_infineon.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/char/tpm
The 8119807 commit reintroduced a regression
(error: __ksymtab_tpm_dev_release causes a section type conflict) that was
fixed by commit
cbb2ed4.
Fix it for good by adding the prototype to tpm.h so sparse doesn't
complain about it anymore.
Reported-by: Tony Camuso
Signed-off-by: Peter Huewe
Removing some boilerplate by using module_i2c_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
drivers/mfd/adp5520.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers/mfd/adp5520.c
Removing some boilerplate by using module_i2c_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
drivers/usb/misc/usb3503.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/usb
Removing some boilerplate by using module_i2c_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
drivers/video/matrox/matroxfb_maven.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
Removing some boilerplate by using module_i2c_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff
Removing some boilerplate by using module_spi_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
drivers/net/can/mcp251x.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/net/can
Removing some boilerplate by using module_spi_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
drivers/net/wireless/ti/wlcore/spi.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_spi_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
drivers/net/ieee802154/mrf24j40.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers
Removing some boilerplate by using module_spi_driver instead of calling
register and unregister in the otherwise empty init/exit functions
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/micrel/ks8851.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_i2c_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Also removed a useless comment as suggested by Jean Delvare
Signed-off-by: Peter Huewe
Reviewed-by: Jean Delvare
---
drivers/video/matrox/matroxfb_maven.c
Removing some boilerplate by using module_spi_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
arch/arm/mach-u300/dummyspichip.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/arch
Removing some boilerplate by using module_usb_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/usb/r8152.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/net/usb
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/uio/uio_aec.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/uio
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/uio/uio_cif.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/uio
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/uio/uio_netx.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/uio
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
It removes a pr_info showing some details about the driver, but
these infos can also be retrieved by using modinfo.
Signed-off-by: Peter Huewe
---
drivers
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/uio/uio_sercos3.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/uio
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/uwb/whci.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/uwb/whci.c b
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/parisc/superio.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers/parisc
to be changed in order to prevent a
build failure.
Signed-off-by: Peter Huewe
---
Sorry for the build failure.
drivers/uio/uio_pci_generic.c | 17 ++---
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/drivers/uio/uio_pci_generic.c b/drivers/uio/uio_pci_generic.c
index
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/scsi/a100u2w.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/scsi
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/scsi/hpsa.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers/scsi/hpsa.c b
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/scsi/dmx3191d.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/scsi
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/scsi/initio.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/scsi
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/scsi/mvumi.c | 21 +
1 file changed, 1 insertion(+), 20 deletions(-)
diff --git a/drivers/scsi
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/scsi/dc395x.c | 25 +
1 file changed, 1 insertion(+), 24 deletions(-)
diff --git a/drivers
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
This time against net-next and compile tested on x86 with allmodconfig.
Sorry for the broken/duplicated patches yesterday
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 25 +
1 file changed, 1 insertion(+), 24 deletions
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 25 +
1 file changed, 1 insertion(+), 24 deletions
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/atheros/atlx/atl1.c | 27 ++-
1 file changed, 2 insertions(+), 25 deletions
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/sis/sis190.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/dec/tulip/xircom_cb.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/toshiba/tc35815.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/icplus/ipg.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/alteon/acenic.c | 15 ++-
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/broadcom/bnx2.c | 16 +---
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/qlogic/qlge/qlge_main.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/sun/sungem.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/amd/amd8111e.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/broadcom/tg3.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/sgi/ioc3-eth.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/hippi/rrunner.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers/net
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
Signed-off-by: Peter Huewe
---
drivers/net/fddi/skfp/skfddi.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers/net
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
The name of the pci_driver struct had to be changed in order to prevent
a build failure.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/nvidia
Removing some boilerplate by using module_pci_driver instead of calling
register and unregister in the otherwise empty init/exit functions.
The name of the pci_driver struct had to be changed in order to prevent
a build failure.
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/chelsio/cxgb
This patch fixes the warning "Using plain integer as NULL pointer",
generated by sparse, by replacing the offending 0s with NULL.
Signed-off-by: Peter Huewe
---
drivers/staging/ozwpan/ozusbsvc1.c | 20 ++--
1 files changed, 10 insertions(+), 10 deletions(-)
This patch fixes the warning "Using plain integer as NULL pointer",
generated by sparse, by replacing the offending 0s with NULL.
Signed-off-by: Peter Huewe
---
drivers/staging/ozwpan/ozusbsvc.c | 22 +++---
1 files changed, 11 insertions(+), 11 deletions(-)
This patch fixes the warning "Using plain integer as NULL pointer",
generated by sparse, by replacing the offending 0s with NULL.
Signed-off-by: Peter Huewe
---
drivers/staging/ozwpan/ozhcd.c | 135
1 files changed, 68 insertions(+), 67
This patch fixes the warning "Using plain integer as NULL pointer",
generated by sparse, by replacing the offending 0s with NULL.
Signed-off-by: Peter Huewe
---
drivers/staging/ozwpan/ozproto.c | 78 +++---
1 files changed, 39 insertions(+), 39
This patch fixes the warning "Using plain integer as NULL pointer",
generated by sparse, by replacing the offending 0s with NULL.
Signed-off-by: Peter Huewe
---
drivers/staging/ozwpan/ozeltbuf.c | 16
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git
This patch fixes the warning "Using plain integer as NULL pointer",
generated by sparse, by replacing the offending 0s with NULL.
Signed-off-by: Peter Huewe
---
drivers/staging/ozwpan/ozcdev.c | 24
1 files changed, 12 insertions(+), 12 deletions(-)
Smatch warns about:
staging/comedi/drivers/cb_pcidas64.c:3304 prep_ao_dma() warn: if();
So the check currently does nothing and can be removed, as indicated by
Ian.
Signed-off-by: Peter Huewe
---
v1 was staging/comedi: Fix if(); by adding proper code
which was unfortunately wrong.
drivers
marked
as const.
CC: David Howells
Signed-off-by: Peter Huewe
---
v2: Included feedback about const by David Howells. Thanks David.
drivers/staging/panel/panel.c | 31 ---
1 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/drivers/staging/panel
This patch fixes the warning "Using plain integer as NULL pointer",
generated by sparse, by replacing the offending 0s with NULL.
If the initialization with NULL was unnecessary (due to unconditional
assignment before first use) it was removed.
Signed-off-by: Peter Huewe
---
drive
401 - 500 of 702 matches
Mail list logo