Pindex and Pdata are unused - remove
tempbx is unused - remove
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/xgifb/vb_setmode.c |7 +--
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/xgifb/vb_setmode.c
b/drivers/staging/xgifb
The code checks twice for if (pVBInfo-VBInfo SetCRT2ToTV) without any
changes in between - we can remove the second check.
And while at it we can also save the temp variable and use tempbx
directly.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/xgifb/vb_setmode.c | 34
Assigning a string is really bad,
and since we only have 1 char strings here we
can simply use a char to store the value and change the format specifier.
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/adl_pci8164.c | 28 +-
1 files changed, 14 insertions
Assigning a string is really bad,
and since we only have 1 char strings here we
can simply use a char to store the value and change the format specifier.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/adl_pci8164.c | 28 +-
1 files
Found with coccicheck.
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.
Signed-off-by: Peter Huewe
---
drivers/staging/omapdrm/omap_gem.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/omapdrm/omap_gem.c
Found with coccicheck.
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.
Signed-off-by: Peter Huewe
---
drivers/staging/media/go7007/go7007-driver.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/media
Found with coccicheck.
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.
Signed-off-by: Peter Huewe
---
drivers/staging/csr/drv.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/csr/drv.c b/drivers
Found with coccicheck.
The semantic patch that makes this change is available
in scripts/coccinelle/api/ptr_ret.cocci.
Signed-off-by: Peter Huewe
---
drivers/staging/media/solo6x10/v4l2.c |5 +
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/media
Found with coccicheck.
The semantic patch that makes this change is available
in scripts/coccinelle/api/ptr_ret.cocci.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/media/solo6x10/v4l2.c |5 +
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/drivers
Found with coccicheck.
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/csr/drv.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/csr/drv.c
Found with coccicheck.
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/media/go7007/go7007-driver.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers
Found with coccicheck.
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/omapdrm/omap_gem.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging
Am Donnerstag, 24. Januar 2013, 11:02:35 schrieb Ian Abbott:
> On 2013-01-22 23:03, Peter Huewe wrote:
> > Since comedi_pci_auto_unconfig cannot be inlined anymore after
> >
> > staging/comedi: Use comedi_pci_auto_unconfig directly for
> > pci_driver.remove
> >
Am Donnerstag, 24. Januar 2013, 11:02:35 schrieb Ian Abbott:
On 2013-01-22 23:03, Peter Huewe wrote:
Since comedi_pci_auto_unconfig cannot be inlined anymore after
staging/comedi: Use comedi_pci_auto_unconfig directly for
pci_driver.remove
is applied, it makes sense to move
Since comedi_pci_auto_unconfig cannot be inlined anymore after
staging/comedi: Use comedi_pci_auto_unconfig directly for
pci_driver.remove
is applied, it makes sense to move it drivers.c
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/comedidev.h |5 +
drivers/staging/comedi
ate code and saves some bytes.
Signed-off-by: Peter Huewe
---
Maybe we should move the implementation now to drivers.c,
because now it cannot be inlined anymore.
This would save some more bytes in the .kos but comedi_pci_auto_unconfig
then has to become an exported symbol.
drivers/staging/com
Instead of coding calling comedi_driver_(un)register and
usb_(de)register directly we can use the comedi_usb_driver_(un)register
wrapper.
This removes some boilerplate and is less error prone.
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/dt9812.c | 25
Instead of coding calling comedi_driver_(un)register and
usb_(de)register directly we can use the comedi_usb_driver_(un)register
wrapper.
This removes some boilerplate and is less error prone.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/dt9812.c | 25
code and saves some bytes.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
Maybe we should move the implementation now to drivers.c,
because now it cannot be inlined anymore.
This would save some more bytes in the .kos but comedi_pci_auto_unconfig
then has to become an exported symbol.
drivers
Since comedi_pci_auto_unconfig cannot be inlined anymore after
staging/comedi: Use comedi_pci_auto_unconfig directly for
pci_driver.remove
is applied, it makes sense to move it drivers.c
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/comedidev.h |5 +
drivers
This patch adds the comedi_driver.name to pci_driver.name
to the skel driver, so we can remove the workaround in drivers.c
Signed-off-by: Peter Huewe
---
missed a comma, sorry
drivers/staging/comedi/drivers/skel.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers
-by: Peter Huewe
---
drivers/staging/iio/iio_hwmon.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/iio/iio_hwmon.c b/drivers/staging/iio/iio_hwmon.c
index c7a5f97..97ad645 100644
--- a/drivers/staging/iio/iio_hwmon.c
+++ b/drivers/staging/iio/iio_hwmon.c
This patch adds the comedi_driver.name to pci_driver.name
to the skel driver, so we can remove the workaround in drivers.c
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/skel.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/staging/comedi/drivers
All pci drivers in drivers/ have the pci_driver.name field set, so we
can remove this workaround and the accompanying todo.
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/comedi
Found with coccicheck.
The semantic patch that makes this output is available
in scripts/coccinelle/misc/boolinit.cocci.
More information about semantic patching is available at
http://coccinelle.lip6.fr/
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/comedi_fops.c |4 ++--
1 files
Found with coccicheck.
The semantic patch that makes this output is available
in scripts/coccinelle/misc/boolinit.cocci.
More information about semantic patching is available at
http://coccinelle.lip6.fr/
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/comedi_fops.c
This patch adds the comedi_driver.name to pci_driver.name
to the skel driver, so we can remove the workaround in drivers.c
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/skel.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers
All pci drivers in drivers/ have the pci_driver.name field set, so we
can remove this workaround and the accompanying todo.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers
-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/iio/iio_hwmon.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/iio/iio_hwmon.c b/drivers/staging/iio/iio_hwmon.c
index c7a5f97..97ad645 100644
--- a/drivers/staging/iio/iio_hwmon.c
+++ b/drivers/staging
This patch adds the comedi_driver.name to pci_driver.name
to the skel driver, so we can remove the workaround in drivers.c
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
missed a comma, sorry
drivers/staging/comedi/drivers/skel.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/ni_daq_dio24.c | 29 +
1 files changed, 1 insertions(+), 28 deletions(-)
diff --git a/drivers/staging/comedi
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Also removed the superflous #ifdef MODULE
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/quatech_daqp_cs.c | 18 +-
1 files changed, 1 insertions(+), 17 deletions
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/das08_cs.c | 26 +-
1 files changed, 1 insertions(+), 25 deletions(-)
diff --git a/drivers/staging/comedi
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/ni_labpc_cs.c | 31 +-
1 files changed, 1 insertions(+), 30 deletions(-)
diff --git a/drivers/staging/comedi
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/cb_das16_cs.c | 25 +
1 files changed, 1 insertions(+), 24 deletions(-)
diff --git a/drivers/staging/comedi
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/ni_daq_700.c | 25 +
1 files changed, 1 insertions(+), 24 deletions(-)
diff --git a/drivers/staging/comedi
This patch introduces a new macro 'module_comedi_pcmcia_driver'
for comedi PCMCIA drivers which do not do anything special in module
init/exit. This eliminates a lot of boilerplate.
Adapted from 'module_comedi_pci_driver'
Signed-off-by: Peter Huewe
---
v2:
Removed unnecessary stuff. Thanks
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Also removed the superflous #ifdef MODULE
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/ni_mio_cs.c | 20 +---
1 files changed, 1 insertions(+), 19 deletions
This patch introduces a new macro 'module_comedi_pcmcia_driver'
for comedi PCMCIA drivers which do not do anything special in module
init/exit. This eliminates a lot of boilerplate.
Adapted from 'module_comedi_pci_driver'
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
v2:
Removed unnecessary
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Also removed the superflous #ifdef MODULE
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/ni_mio_cs.c | 20 +---
1 files changed, 1 insertions
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/cb_das16_cs.c | 25 +
1 files changed, 1 insertions(+), 24 deletions(-)
diff --git
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/ni_daq_700.c | 25 +
1 files changed, 1 insertions(+), 24 deletions(-)
diff --git a/drivers
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/ni_labpc_cs.c | 31 +-
1 files changed, 1 insertions(+), 30 deletions(-)
diff --git
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/das08_cs.c | 26 +-
1 files changed, 1 insertions(+), 25 deletions(-)
diff --git a/drivers
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Also removed the superflous #ifdef MODULE
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/quatech_daqp_cs.c | 18 +-
1 files changed, 1 insertions
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/ni_daq_dio24.c | 29 +
1 files changed, 1 insertions(+), 28 deletions(-)
diff --git
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/das08_cs.c | 26 +-
1 files changed, 1 insertions(+), 25 deletions(-)
diff --git a/drivers/staging/comedi
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/cb_das16_cs.c | 25 +
1 files changed, 1 insertions(+), 24 deletions(-)
diff --git a/drivers/staging/comedi
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/ni_daq_700.c | 25 +
1 files changed, 1 insertions(+), 24 deletions(-)
diff --git a/drivers/staging/comedi
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/ni_labpc_cs.c | 31 +-
1 files changed, 1 insertions(+), 30 deletions(-)
diff --git a/drivers/staging/comedi
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Also removed the superflous #ifdef MODULE
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/ni_mio_cs.c | 20 +---
1 files changed, 1 insertions(+), 19 deletions
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Also removed the superflous #ifdef MODULE
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/quatech_daqp_cs.c | 18 +-
1 files changed, 1 insertions(+), 17 deletions
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/drivers/ni_daq_dio24.c | 29 +
1 files changed, 1 insertions(+), 28 deletions(-)
diff --git a/drivers/staging/comedi
This patch introduces a new macro 'module_comedi_pcmcia_driver'
for comedi PCMCIA drivers which do not do anything special in module
init/exit. This eliminates a lot of boilerplate.
Adapted from 'module_comedi_pci_driver'
Signed-off-by: Peter Huewe
---
drivers/staging/comedi/comedidev.h | 22
This patch introduces a new macro 'module_comedi_pcmcia_driver'
for comedi PCMCIA drivers which do not do anything special in module
init/exit. This eliminates a lot of boilerplate.
Adapted from 'module_comedi_pci_driver'
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/ni_daq_dio24.c | 29 +
1 files changed, 1 insertions(+), 28 deletions(-)
diff --git
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Also removed the superflous #ifdef MODULE
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/ni_mio_cs.c | 20 +---
1 files changed, 1 insertions
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Also removed the superflous #ifdef MODULE
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/quatech_daqp_cs.c | 18 +-
1 files changed, 1 insertions
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/ni_daq_700.c | 25 +
1 files changed, 1 insertions(+), 24 deletions(-)
diff --git a/drivers
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/ni_labpc_cs.c | 31 +-
1 files changed, 1 insertions(+), 30 deletions(-)
diff --git
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/cb_das16_cs.c | 25 +
1 files changed, 1 insertions(+), 24 deletions(-)
diff --git
This patch removes the boring init/exit functions with the new
module_comedi_pcmcia_driver macro.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/staging/comedi/drivers/das08_cs.c | 26 +-
1 files changed, 1 insertions(+), 25 deletions(-)
diff --git a/drivers
'priv' (see line 2474)
drivers/staging/csr/sme_sys.c:3045
CsrWifiRouterCtrlWapiRxPktReqHandler() warn: variable dereferenced
before check 'priv' (see line 3039)
We put the check before the dereferencing and prevent an oops and fix
the warning.
Signed-off-by: Peter Huewe
---
drivers/staging/csr
'priv' (see line 2474)
drivers/staging/csr/sme_sys.c:3045
CsrWifiRouterCtrlWapiRxPktReqHandler() warn: variable dereferenced
before check 'priv' (see line 3039)
We put the check before the dereferencing and prevent an oops and fix
the warning.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers
with the (>fs_lock)
held if sbi->version <= 4 and simple_empty(dentry) == false so the warning
seems valid.
--> Add an spin_unlock in this case before we jump to done
Unfortunately compile tested only.
Reported-by: Fengguang Wu
Signed-off-by: Peter Huewe
---
fs/autofs4/root.c |4 +
Sparse complains that:
drivers/net/ethernet/broadcom/tg3.c:5670:55: sparse: constant
0x7fff is so big it is long long (on x86/32 bit)
so we suffix the constant with LL in the header file.
Reported-by: Fengguang Wu
Signed-off-by: Peter Huewe
---
drivers/net/ethernet/broadcom/tg3.h
Sparse complains that:
drivers/net/ethernet/broadcom/tg3.c:5670:55: sparse: constant
0x7fff is so big it is long long (on x86/32 bit)
so we suffix the constant with LL in the header file.
Reported-by: Fengguang Wu fengguang...@intel.com
Signed-off-by: Peter Huewe peterhu...@gmx.de
with the (sbi-fs_lock)
held if sbi-version = 4 and simple_empty(dentry) == false so the warning
seems valid.
-- Add an spin_unlock in this case before we jump to done
Unfortunately compile tested only.
Reported-by: Fengguang Wu fengguang...@intel.com
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
fs
This patch converts the suspend and resume functions for
tpm_i2c_stm_st33 to the new dev_pm_ops.
Signed-off-by: Peter Huewe
---
Note:
I'm sending this patch on behalf of myself only and nobody else,
especially not my employer - and I'm doing this in my spare time.
I have to inform you that I'm
This patch converts the suspend and resume functions for
tpm_i2c_stm_st33 to the new dev_pm_ops.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
Note:
I'm sending this patch on behalf of myself only and nobody else,
especially not my employer - and I'm doing this in my spare time.
I have
patching is available at
http://coccinelle.lip6.fr/
Signed-off-by: Peter Huewe
---
v3 for this tiny patch... shame on me.
drivers/char/tpm/tpm_tis.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c
index 6bdf267
patching is available at
http://coccinelle.lip6.fr/
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
v3 for this tiny patch... shame on me.
drivers/char/tpm/tpm_tis.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm
Am Donnerstag, 29. November 2012, 01:25:19 schrieb Al Viro:
> On Thu, Nov 29, 2012 at 01:20:37AM +0100, Peter Huewe wrote:
> > - itpm = (probe == 0) ? 0 : 1;
> > + itpm = (probe == 0) ? false : true;
>
> Charming. Not that original had been better, bu
patching is available at
http://coccinelle.lip6.fr/
Signed-off-by: Peter Huewe
---
v2:
Removed/changed that silly itpm = (probe == 0) ? 0 : 1;
since probe is here either 0 or 1 -- thanks Al for noticing.
This section and the probing of the itpm can probably be improved anyway,
but I'll wrap
patching is available at
http://coccinelle.lip6.fr/
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm_tis.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c
index 6bdf267..70d4ea5 100644
--- a/drivers/char/tpm
patching is available at
http://coccinelle.lip6.fr/
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/char/tpm/tpm_tis.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c
index 6bdf267..70d4ea5 100644
patching is available at
http://coccinelle.lip6.fr/
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
v2:
Removed/changed that silly itpm = (probe == 0) ? 0 : 1;
since probe is here either 0 or 1 -- thanks Al for noticing.
This section and the probing of the itpm can probably be improved anyway,
but I'll
Am Donnerstag, 29. November 2012, 01:25:19 schrieb Al Viro:
On Thu, Nov 29, 2012 at 01:20:37AM +0100, Peter Huewe wrote:
- itpm = (probe == 0) ? 0 : 1;
+ itpm = (probe == 0) ? false : true;
Charming. Not that original had been better, but...
Yeah. Sorry it's late
Am Mittwoch, 21. November 2012, 21:56:45 schrieb Jason Gunthorpe:
> This seems to be preferred these days.
>
> Signed-off-by: Jason Gunthorpe
Looks good to me
Reviewed-by: Peter Huewe
Thanks,
Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-kerne
Am Mittwoch, 21. November 2012, 21:56:45 schrieb Jason Gunthorpe:
This seems to be preferred these days.
Signed-off-by: Jason Gunthorpe jguntho...@obsidianresearch.com
Looks good to me
Reviewed-by: Peter Huewe peterhu...@gmx.de
Thanks,
Peter
--
To unsubscribe from this list: send the line
/tpm.c:360 tpm_calc_ordinal_duration() error: buffer
overflow 'tpm_protected_ordinal_duration' 12 <= 243
Signed-off-by: Peter Huewe
---
v2: Smatch not sparse and TSC instead of TCS ;)
drivers/char/tpm/tpm.c | 13 ++---
1 files changed, 6 insertions(+), 7 deletions(-)
diff --
/tpm.c:360 tpm_calc_ordinal_duration() error: buffer
overflow 'tpm_protected_ordinal_duration' 12 = 243
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
v2: Smatch not sparse and TSC instead of TCS ;)
drivers/char/tpm/tpm.c | 13 ++---
1 files changed, 6 insertions(+), 7 deletions
/tpm.c:360 tpm_calc_ordinal_duration() error: buffer
overflow 'tpm_protected_ordinal_duration' 12 <= 243
Signed-off-by: Peter Huewe
---
drivers/char/tpm/tpm.c | 13 ++---
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/char/tpm/tpm.c b/drivers/char/tpm/tpm.c
in
The entries in tpm_protected_ordinal_duration are exactly the same as
the first 12 in tpm_ordinal_duration, so we can simply remove this one,
and save some bytes.
This does not change the behavior of the driver.
Signed-off-by: Peter Huewe
---
This patch reflects only my opinion and work
The entries in tpm_protected_ordinal_duration are exactly the same as
the first 12 in tpm_ordinal_duration, so we can simply remove this one,
and save some bytes.
This does not change the behavior of the driver.
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
This patch reflects only my opinion
/tpm.c:360 tpm_calc_ordinal_duration() error: buffer
overflow 'tpm_protected_ordinal_duration' 12 = 243
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/char/tpm/tpm.c | 13 ++---
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/char/tpm/tpm.c b/drivers/char
Commit-ID: 95d18aa2b6c05351181934b3bc34ce038cc7b637
Gitweb: http://git.kernel.org/tip/95d18aa2b6c05351181934b3bc34ce038cc7b637
Author: Peter Huewe
AuthorDate: Mon, 29 Oct 2012 21:48:17 +0100
Committer: Ingo Molnar
CommitDate: Tue, 30 Oct 2012 10:10:52 +0100
perf/x86: Fix sparse
Commit-ID: 95d18aa2b6c05351181934b3bc34ce038cc7b637
Gitweb: http://git.kernel.org/tip/95d18aa2b6c05351181934b3bc34ce038cc7b637
Author: Peter Huewe peterhu...@gmx.de
AuthorDate: Mon, 29 Oct 2012 21:48:17 +0100
Committer: Ingo Molnar mi...@kernel.org
CommitDate: Tue, 30 Oct 2012 10:10:52
and conditions of the GNU General
* Public License. See the file "COPYING" in the main directory of this
* archive for more details.
I think it's safe to add the MODULE_LICENSE("GPL") macro and thus remove
the kernel taint.
Cc: sta...@vger.kernel.org
Signed-off-by: Peter Huewe
Since extcon registers this compat link at device registration
(extcon_dev_register), we should probably remove them at deregistration/cleanup.
Cc: sta...@vger.kernel.org
Signed-off-by: Peter Huewe
---
drivers/extcon/extcon_class.c |5 +
1 files changed, 5 insertions(+), 0 deletions
0
9f451e58: [<6007e3c3>] sys_init_module+0xa3/0x280
9f451e88: [<6001e2ad>] handle_syscall+0x8d/0x90
9f451ea8: [<60033370>] userspace+0x405/0x531
9f451ee8: [<6001e380>] copy_chunk_to_user+0x0/0x40
9f451ef8: [<6001e5cd>] do_op_one_page+0x14d/0x220
9f451fd8: [<60
fixes this.
Cc: sta...@vger.kernel.org
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/extcon/extcon_class.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/extcon/extcon_class.c b/drivers/extcon/extcon_class.c
index f6419f9..6e914d0 100644
Since extcon registers this compat link at device registration
(extcon_dev_register), we should probably remove them at deregistration/cleanup.
Cc: sta...@vger.kernel.org
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/extcon/extcon_class.c |5 +
1 files changed, 5 insertions
and conditions of the GNU General
* Public License. See the file COPYING in the main directory of this
* archive for more details.
I think it's safe to add the MODULE_LICENSE(GPL) macro and thus remove
the kernel taint.
Cc: sta...@vger.kernel.org
Signed-off-by: Peter Huewe peterhu...@gmx.de
dependency and prevents the driver from
being build on platforms with no HAS_IOMEM
Signed-off-by: Peter Huewe
---
drivers/mtd/nand/Kconfig |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 8ca4176..3e2f75d 100644
dependency and prevents the driver from
being build on platforms with no HAS_IOMEM
Signed-off-by: Peter Huewe peterhu...@gmx.de
---
drivers/mtd/nand/Kconfig |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 8ca4176
ication_tis_version_12/
[2] http://trousers.sourceforge.net/
[3]
http://sourceforge.net/projects/trousers/files/TSS%20API%20test%20suite/0.3/
Signed-off-by: Peter Huewe
---
Full patch, against 3.6-rc1
Sorry for the inconvenience.
I did remove the signed-off-by, acked-by and reviewed-by tags
as this i
://trousers.sourceforge.net/
[3]
http://sourceforge.net/projects/trousers/files/TSS%20API%20test%20suite/0.3/
Signed-off-by: Peter Huewe peter.hu...@infineon.com
---
Full patch, against 3.6-rc1
Sorry for the inconvenience.
I did remove the signed-off-by, acked-by and reviewed-by tags
as this is a new
callback routines.
Signed-off-by: Peter Huewe
---
Thanks Kent and Rafael - much better this way ;)
drivers/char/tpm/tpm_i2c_infineon.c | 30 +-
1 files changed, 1 insertions(+), 29 deletions(-)
diff --git a/drivers/char/tpm/tpm_i2c_infineon.c
b/drivers/char/tpm
callback routines.
Signed-off-by: Peter Huewe peter.hu...@infineon.com
---
Thanks Kent and Rafael - much better this way ;)
drivers/char/tpm/tpm_i2c_infineon.c | 30 +-
1 files changed, 1 insertions(+), 29 deletions(-)
diff --git a/drivers/char/tpm/tpm_i2c_infineon.c
b
601 - 700 of 702 matches
Mail list logo