[PATCH] Staging: dgnc: Using a temporary value for repeated dereferences.

2015-04-20 Thread Yorick Rommers
Sorry, it has been changed in the patch below. --- A patch for a line being too long (>80) in dgnc_mgmt.c, fixed by making a temporary value for dgnc_Board[brd], replacing all instanced of dgnc_Board[brd] with temporary value, and removing unnecessary typecasts

WEB INFO

2015-04-20 Thread Web Admin
ATENÇÃO Sua caixa de correio excedeu o limite de armazenamento, que é de 10 GB como indicado pelo administrador, está atualmente em execução no 10.9GB, pode não ser capaz de enviar ou receber novas mensagens até que quando você voltar a validar a sua caixa de correio. Para revalidar a sua voz por

Re: [PATCH] Staging: i2o: fixed various code style issues in i2o_block.c

2015-04-20 Thread Dan Carpenter
On Sat, Apr 18, 2015 at 10:12:14PM +0200, Yorick Rommers wrote: > From: Yorick Don't include a From: unless you are sending a patch someone else wrote. Otherwise we prefer to get it from your email From. Also you forgot your last name. > @@ -488,8 +488,8 @@ static int i2o_block_reply(struct i2o

Re: [PATCH 2/2] Staging: dgnc: fixed code style issues, mainly line width issues.

2015-04-20 Thread Dan Carpenter
On Sun, Apr 19, 2015 at 02:04:39AM +0200, Yorick Rommers wrote: > A patch for dgnc_mgmt.c and dgnc_neo.c to fix some code style issues. > > Signed-off-by: Yorick Rommers > --- > drivers/staging/dgnc/dgnc_mgmt.c | 4 +- > drivers/staging/dgnc/dgnc_neo.c | 210 > +++

Re: [PATCH] Staging: dgnc: fixed code style issue

2015-04-20 Thread Dan Carpenter
On Sun, Apr 19, 2015 at 09:18:23PM +0200, Yorick Rommers wrote: > A patch for a line being too long (>80) in dgnc_mgmt.c, > fixed by making a temporary value for dgnc_Board[brd], and removing > an unnecessary typecast. > > Signed-off-by: Yorick Rommers > --- > drivers/staging/dgnc/dgnc_mgmt.c |

Re: [PATCH] staging: rtl8192u: ieee80211: Silence sparse warning

2015-04-20 Thread Dan Carpenter
On Sun, Apr 19, 2015 at 05:43:51PM -0300, Gaston Gonzalez wrote: > Silence the following sparse warning: > > drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c:184:16: warning: > cast to restricted __le16 > We have a tkip_mixing_phase2() function in net/mac80211/tkip.c. That's probably

Re: [PATCH] Staging: dgnc: Using temporary value for repeated dereferences.

2015-04-20 Thread Dan Carpenter
On Sun, Apr 19, 2015 at 11:58:53PM +0200, Yorick Rommers wrote: > Hello Joe, > > Thank you once again for the feedback. > I've changed my patch accordingly, see below. > > -- The patch is nice except for this chunk. And also you should be putting version numb

Re: [PATCH] Staging: dgnc: Using temporary value for repeated dereferences.

2015-04-20 Thread Dan Carpenter
On Sun, Apr 19, 2015 at 05:54:19PM -0700, Joe Perches wrote: > > diff --git a/drivers/staging/dgnc/dgnc_mgmt.c > > b/drivers/staging/dgnc/dgnc_mgmt.c > > index b13318a..0437117 100644 > > --- a/drivers/staging/dgnc/dgnc_mgmt.c > > +++ b/drivers/staging/dgnc/dgnc_mgmt.c > > @@ -131,6 +131,7 @@ long

Re: [PATCH] Staging: i2o: fixed various code style issues in i2o_block.c

2015-04-20 Thread Alan Cox
On Sat, 2015-04-18 at 22:12 +0200, Yorick Rommers wrote: > From: Yorick > > This is a patch that fixes errors regarding whitespaces and split strings. Wouldn't worry. The i2o layer is in staging because it is about to be dropped from the kernel unless someone steps up to maintain it. Given its u

Re: [PATCH 5/5] Drivers: hv: vmbus: Implement the protocol for tearing down vmbus state

2015-04-20 Thread Vitaly Kuznetsov
"K. Y. Srinivasan" writes: > Implement the protocol for tearing down the monitor state established with > the host. > > Signed-off-by: K. Y. Srinivasan Unfortunatelly this patch leads to the following crash: pre-udev:/# modprobe hv_vmbus modprobe hv_vmbus [ 14.832334] hv_vmbus: Hyper-V Host

Re: [PATCH 5/5] Drivers: hv: vmbus: Implement the protocol for tearing down vmbus state

2015-04-20 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > "K. Y. Srinivasan" writes: > >> Implement the protocol for tearing down the monitor state established with >> the host. >> >> Signed-off-by: K. Y. Srinivasan > > Unfortunatelly this patch leads to the following crash: > > pre-udev:/# modprobe hv_vmbus > modprobe hv_vm

gcc doesn't warn about uninitialized variable use in switch/case with -O (was: Re: [PATCH] Staging: dgnc: Using temporary value for repeated dereferences)

2015-04-20 Thread Joe Perches
On Mon, 2015-04-20 at 11:33 +0300, Dan Carpenter wrote: > You would hope that GCC would warn about the uninitialized variable but > it doesn't. That's odd. So I filed this new gcc bugzilla: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65812) gcc 4.9.1 doesn't warn about uninitialized variable us

Re: gcc doesn't warn about uninitialized variable use in switch/case with -O (was: Re: [PATCH] Staging: dgnc: Using temporary value for repeated dereferences)

2015-04-20 Thread Joe Perches
On Mon, 2015-04-20 at 03:42 -0700, Joe Perches wrote: > On Mon, 2015-04-20 at 11:33 +0300, Dan Carpenter wrote: > > You would hope that GCC would warn about the uninitialized variable but > > it doesn't. > > That's odd. So I filed this new gcc bugzilla: > https://gcc.gnu.org/bugzilla/show_bug.cgi

our email marketing

2015-04-20 Thread Louis
Hope you are doing well! We specialize in providing email marketing services to a number of businesses. We would like to be your marketing partners and help your business reach the next level. We can increase your business sales 2-4 times than before. Please contact us if you would require more

our email marketing

2015-04-20 Thread Louis
Hope you are doing well! We specialize in providing email marketing services to a number of businesses. We would like to be your marketing partners and help your business reach the next level. We can increase your business sales 2-4 times than before. Please contact us if you would require more

RE: [PATCH 5/5] Drivers: hv: vmbus: Implement the protocol for tearing down vmbus state

2015-04-20 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Monday, April 20, 2015 2:40 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com >

Re: [PATCH 5/5] Drivers: hv: vmbus: Implement the protocol for tearing down vmbus state

2015-04-20 Thread Vitaly Kuznetsov
KY Srinivasan writes: >> -Original Message- >> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] >> Sent: Monday, April 20, 2015 2:40 AM >> To: KY Srinivasan >> Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; >> de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.

RE: [PATCH 5/5] Drivers: hv: vmbus: Implement the protocol for tearing down vmbus state

2015-04-20 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Monday, April 20, 2015 7:17 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com >

Re: [PATCH] Staging: comedi: fix coding style errors in daqboard2000.c

2015-04-20 Thread Greg KH
On Sun, Apr 19, 2015 at 07:59:31PM -0700, Gbenga Adalumo wrote: > Fix coding style errors found by checkpatch.pl tool What errors? Be specific. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/

[PATCH 2/3] staging: comedi: ni_nio_common: don't write non-existing caldac's

2015-04-20 Thread H Hartley Sweeten
ni_write_caldac() checks the boardinfo 'caldac' array to determine what caldac is used for a given 'addr'. It then calculates the 'bitstring' and number of 'bits' used to write a value to that caldac address. After checking the caldac array, if the number of bits is 0 there is no caldac associated

[PATCH 3/3] staging: comedi: serial2002: fix Coverity "Explicit null dereference"

2015-04-20 Thread H Hartley Sweeten
serial2002_setup_subdevices() initializes each subdevice based on the config read from the attached serial device. Part of this initialization is to setup the subdevice range_table_list for the non digital subdevices. The range_table_list is allocated only when a 'range' is passed to the functions.

[PATCH 1/3] staging: comedi: comedi_bond: fix 'b_mask' calc in bonding_dio_insn_bits()

2015-04-20 Thread H Hartley Sweeten
'b_chans' may be a valud up to 32. 'b_mask' is an unsigned int and a left shift of more than 31 bits has undefined behavior. Fix the calc so it works correctly with a 'b_chans' of 32.. Reported-by: coverity (CID 1192244) Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman -

[PATCH 0/3] staging: comedi: Coverity fixes

2015-04-20 Thread H Hartley Sweeten
Fix a couple issues reported by Coverity. H Hartley Sweeten (3): staging: comedi: comedi_bond: fix 'b_mask' calc in bonding_dio_insn_bits() staging: comedi: ni_nio_common: don't write non-existing caldac's staging: comedi: serial2002: fix Coverity "Explicit null dereference" drivers/stagin

Re: [PATCH] Staging: comedi: fix coding style errors in daqboard2000.c

2015-04-20 Thread Gbenga Adalumo
The patch fixes a trailing whitespace and code indenting coding style errors as reported by checkpatch.pl tool. Details of the lines where the fixed errors were reported are as follows: drivers/staging/comedi/drivers/daqboard2000.c:43: ERROR: trailing whitespace drivers/staging/comedi/drivers/daq

[PATCH] staging: gdm72xx: enclose complex define statement

2015-04-20 Thread Jaime Arrocha
This patch fixes the warning found by checkpatch.pl: ERROR: Macros with complex values should be enclosed in parentheses Signed-off-by: Jaime Arrocha --- drivers/staging/gdm72xx/usb_ids.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/gdm72xx/usb_ids.h