Re: [PATCH] Hyperv: Trigger DHCP renew after host hibernation

2014-07-20 Thread Richard Weinberger
Yie, Am 21.07.2014 04:44, schrieb Yue Zhang (OSTC DEV): >> From: Richard Weinberger [mailto:richard.weinber...@gmail.com] >> Why 10? Is this a random number which works by accident for ifplugd? >> What about other networking implementations, is 10 also ok for them? >> -- >> Thanks, >> //richard >

Bitte wir brauchen dringende Antwort ......

2014-07-20 Thread notification
Herzlichen Glьckwunsch ! Ich mцchte Ihnen mitteilen zu kцnnen das neue EURO LOTTO POWER PLAY eine Tochtergesellschaft des NEW YORK-LOTTO zieht vom Samstag, 19.Juli 2014 , im Bundesstaat New York von denen Sie einer der glьcklichen Gewinner sind. Ihre E-mail-Adresse an Ticket-Nummer angehдng

Re: [PATCH 0/25] Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-20 Thread David Miller
From: Benoit Taine Date: Fri, 18 Jul 2014 17:26:47 +0200 > 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 >

RE: [PATCH] Hyperv: Trigger DHCP renew after host hibernation

2014-07-20 Thread Yue Zhang (OSTC DEV)
> From: Varka Bhadram [mailto:varkabhad...@gmail.com] > Sent: Friday, July 18, 2014 6:13 PM > > On 07/18/2014 04:25 PM, Yue Zhang wrote: > > @@ -816,8 +816,21 @@ static void netvsc_link_change(struct work_struct > *w) > > > > rtnl_unlock(); > > > > - if (refresh) > > - call_usermod

RE: [PATCH] Hyperv: Trigger DHCP renew after host hibernation

2014-07-20 Thread Yue Zhang (OSTC DEV)
> From: Richard Weinberger [mailto:richard.weinber...@gmail.com] > Sent: Friday, July 18, 2014 9:41 PM > > On Fri, Jul 18, 2014 at 12:55 PM, Yue Zhang wrote: > > From: Yue Zhang > > > > This patch addresses the comment from Olaf Hering and Greg KH > > for a previous commit 3a494e710367 ("hyperv:

[PATCH 1/1] Drivers: scsi: storvsc: Add blist flags

2014-07-20 Thread K. Y. Srinivasan
Add blist flags to permit the reading of the VPD pages even when the target may claim SPC-2 compliance. MSFT targets currently claim SPC-2 compliance while they implement post SPC-2 features. With this patch we can correctly handle WRITE_SAME_16 issues. Signed-off-by: K. Y. Srinivasan --- driver

[GIT PULL] Staging driver fixes for 3.16-rc6

2014-07-20 Thread Greg KH
The following changes since commit 1795cd9b3a91d4b5473c97f491d63892442212ab: Linux 3.16-rc5 (2014-07-13 14:04:33 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-3.16-rc6 for you to fetch changes up to 9359003385a

Re: [PATCH v4 (staging-next) 2/5] staging:iio:hmc5843: Split hmc5843.c to multiple files

2014-07-20 Thread Jonathan Cameron
On 20/07/14 17:32, Jonathan Cameron wrote: On 16/07/14 14:07, Josef Gajdusek wrote: This patch splits hmc5843.c to multiple files - the interface-agnostic hmc5843_core.c, i2c specific hmc5843_i2c.c and header file hmc5843.h. This is another step to add support of SPI-enabled hmc5983. Signed-off

Re: [PATCH v4 (staging-next) 2/5] staging:iio:hmc5843: Split hmc5843.c to multiple files

2014-07-20 Thread Jonathan Cameron
On 16/07/14 14:07, Josef Gajdusek wrote: This patch splits hmc5843.c to multiple files - the interface-agnostic hmc5843_core.c, i2c specific hmc5843_i2c.c and header file hmc5843.h. This is another step to add support of SPI-enabled hmc5983. Signed-off-by: Josef Gajdusek Unfortunately taking t

Re: [PATCH v4 (staging-next) 1/5] staging:iio:hmc5843: Added regmap support

2014-07-20 Thread Jonathan Cameron
On 16/07/14 14:07, Josef Gajdusek wrote: This patch changes hmc5843.c to use regmap. This provides transparent caching to the code as well as abstraction necessary to add support for SPI-based hmc5983. Signed-off-by: Josef Gajdusek Applied to the togreg branch of iio.git. Will be initially pu

Re: [PATCH v2 1/3] staging: lustre: lov: Cleanup lov_check_set() in lov_request.c

2014-07-20 Thread Riccardo Lucchese
On Sun, Jul 20, 2014 at 08:30:23AM -0700, Joe Perches wrote: > On Sun, 2014-07-20 at 15:22 +0200, Riccardo Lucchese wrote: > > Make the code clearer by introducing a local variable and removing the > > unnecessary 'if' statement. > > > > Signed-off-by: Riccardo Lucchese > > Acked-by: Julia Lawall

Re: [PATCH v2 1/3] staging: lustre: lov: Cleanup lov_check_set() in lov_request.c

2014-07-20 Thread Joe Perches
On Sun, 2014-07-20 at 15:22 +0200, Riccardo Lucchese wrote: > Make the code clearer by introducing a local variable and removing the > unnecessary 'if' statement. > > Signed-off-by: Riccardo Lucchese > Acked-by: Julia Lawall > --- > Changes in v2: > - Improved the commit message: > - change

[PATCH 6/7] Staging: comedi: adv_pci1710: an issue in line over 80 fixed

2014-07-20 Thread Sam Asadi
An issue in 'line over 80 characters' fixed by removing over-lined comment to the previous line. Signed-off-by: Sam Asadi --- drivers/staging/comedi/drivers/adv_pci1710.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/adv_pci1710.c b/dr

[PATCH 1/7] Staging: comedi: adv_pci1710: a line over 80 fixed

2014-07-20 Thread Sam Asadi
A 'line over 80' issue fixed, by removing comment to previous line. And also, by this, 'a blank line' isssue resolved. Signed-off-by: Sam Asadi --- drivers/staging/comedi/drivers/adv_pci1710.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drive

[PATCH 7/7] Staging: comedi: adv_pci1710: an issue in code style fixed

2014-07-20 Thread Sam Asadi
An issue in 'line over 80 characters' fixed by removing over-lined comment to the previous line. Signed-off-by: Sam Asadi --- drivers/staging/comedi/drivers/adv_pci1710.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/adv_pci1710.c b/driv

[PATCH 5/7] Staging: comedi: adv_pci1710: a line over 80 characters resolved

2014-07-20 Thread Sam Asadi
An issue in 'line over 80 characters' fixed by taking back over-lined comment a few characters. Signed-off-by: Sam Asadi --- drivers/staging/comedi/drivers/adv_pci1710.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/adv_pci1710.c b/drivers

[PATCH 4/7] Staging: comedi: adv_pci1710: a line over 80 characters fixed

2014-07-20 Thread Sam Asadi
An issue in 'line over 80 characters' fixed and over-lined comment removed to the previous line. Signed-off-by: Sam Asadi --- drivers/staging/comedi/drivers/adv_pci1710.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/adv_pci1710.c b/driv

[PATCH 2/7] Staging: comedi: adv_pci1710: a line over 80 issue fixed

2014-07-20 Thread Sam Asadi
By removing a comment to previous line, 'line over 80' issue fixed. Signed-off-by: Sam Asadi --- drivers/staging/comedi/drivers/adv_pci1710.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/adv_pci1710.c b/drivers/staging/comedi/drivers/ad

[PATCH 3/7] Staging: comedi: adv_pci1710: A line style issue fixed

2014-07-20 Thread Sam Asadi
A 'line over 80 characters' fixed by removing over-lined comment to previous line. Signed-off-by: Sam Asadi --- drivers/staging/comedi/drivers/adv_pci1710.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/adv_pci1710.c b/drivers/staging/co

[PATCH v2 3/3] staging: lustre: lov: Add a space before open braces '{' in lov_request.c

2014-07-20 Thread Riccardo Lucchese
Fix the following checkpatch.pl issue in lov_request.c: ERROR: space required before the open brace '{' Signed-off-by: Riccardo Lucchese Acked-by: Julia Lawall --- Changes in v2: - Changed the subject line to follow the same convention used by previous commits to the same file. - Added Acke

staging: lustre: lov: Cleanup style issues in lov_request.c

2014-07-20 Thread Riccardo Lucchese
Hello, This patch series contains one cleanup and two coding style fixes for lov_request.c. This iteration addresses the review comments received by v1. Changes in v2: - Improved the commit messages. - Introduced a local variable in lov_check_set() to make the code clearer. Thanks, riccardo

[PATCH v2 1/3] staging: lustre: lov: Cleanup lov_check_set() in lov_request.c

2014-07-20 Thread Riccardo Lucchese
Make the code clearer by introducing a local variable and removing the unnecessary 'if' statement. Signed-off-by: Riccardo Lucchese Acked-by: Julia Lawall --- Changes in v2: - Improved the commit message: - changed the subject line to follow the same convention used by previous commit

[PATCH v2 2/3] staging: lustre: lov: Add a blank line after declarations in lov_request.c

2014-07-20 Thread Riccardo Lucchese
Fix the following checkpatch.pl issue in lov_request.c: WARNING: Missing a blank line after declarations Signed-off-by: Riccardo Lucchese Acked-by: Julia Lawall --- Changes in v2: - Changed the subject line to follow the same convention used by previous commits to the same file. - Added Ack

[PATCH 5/5] Staging: bcm: nvm.c: replaced member accessing with variable

2014-07-20 Thread Matthias Beyer
Signed-off-by: Matthias Beyer --- drivers/staging/bcm/nvm.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/staging/bcm/nvm.c b/drivers/staging/bcm/nvm.c index c38c803..0d197c0 100644 --- a/drivers/staging/bcm/nvm.c +++ b/drivers/staging/bcm/nvm.c @@ -1042,6 +1

[PATCH 4/5] Staging: bcm: nvm.c: Removed indentation level by concatenating nested if statements

2014-07-20 Thread Matthias Beyer
Signed-off-by: Matthias Beyer --- drivers/staging/bcm/nvm.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/staging/bcm/nvm.c b/drivers/staging/bcm/nvm.c index edbd0f9..c38c803 100644 --- a/drivers/staging/bcm/nvm.c +++ b/drivers/staging/bcm/nvm.c @@ -10

[PATCH 0/5] drivers/staging/bcm/nvm.c cleanup patches

2014-07-20 Thread Matthias Beyer
Hi, these are some patches for the drivers/staging/bcm/nvm.c file. Note: As I do not have the appropriate hardware, I'm not able to test these patches. I compiled them at least. Kind regards, Matthias Beyer Matthias Beyer (5): Staging: bcm: nvm.c: Shortened lines Staging: bcm: nvm.c:

[PATCH 2/5] Staging: bcm: nvm.c: Outsourced chunk of code into function

2014-07-20 Thread Matthias Beyer
This patch outsources a chunk of code into an own function. It also refactors the variable names which are used within this function. The function name may be not appropriate. Signed-off-by: Matthias Beyer --- drivers/staging/bcm/nvm.c | 70 --- 1 fil

[PATCH 1/5] Staging: bcm: nvm.c: Shortened lines

2014-07-20 Thread Matthias Beyer
Signed-off-by: Matthias Beyer --- drivers/staging/bcm/nvm.c | 64 +-- 1 file changed, 40 insertions(+), 24 deletions(-) diff --git a/drivers/staging/bcm/nvm.c b/drivers/staging/bcm/nvm.c index 8ce4d41..76c86eb 100644 --- a/drivers/staging/bcm/nvm.c +++

[PATCH 3/5] Staging: bcm: nvm.c: Removed indentation level by using continue statement

2014-07-20 Thread Matthias Beyer
Signed-off-by: Matthias Beyer --- drivers/staging/bcm/nvm.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/staging/bcm/nvm.c b/drivers/staging/bcm/nvm.c index 4aa195c..edbd0f9 100644 --- a/drivers/staging/bcm/nvm.c +++ b/drivers/staging/bcm

Re: [PATCH 1/3] staging: lustre/lustre/lov: Remove unneeded 'if' statement in lov_request.c/lov_check_set()

2014-07-20 Thread Riccardo Lucchese
On Sun, Jul 20, 2014 at 02:37:47PM +0300, Dan Carpenter wrote: > On Sun, Jul 20, 2014 at 01:08:36PM +0200, Riccardo Lucchese wrote: > > Dan, > > > > On Sun, Jul 20, 2014 at 07:52:53AM +0300, Dan Carpenter wrote: > > > On Sat, Jul 19, 2014 at 09:34:56PM +0200, Riccardo Lucchese wrote: [...] > > > I

Re: [PATCH 1/3] staging: lustre/lustre/lov: Remove unneeded 'if' statement in lov_request.c/lov_check_set()

2014-07-20 Thread Dan Carpenter
On Sun, Jul 20, 2014 at 01:08:36PM +0200, Riccardo Lucchese wrote: > Dan, > > On Sun, Jul 20, 2014 at 07:52:53AM +0300, Dan Carpenter wrote: > > On Sat, Jul 19, 2014 at 09:34:56PM +0200, Riccardo Lucchese wrote: > > > It is silly to go through an if statement to set a single boolean > > > value in

Re: [PATCH 1/3] staging: lustre/lustre/lov: Remove unneeded 'if' statement in lov_request.c/lov_check_set()

2014-07-20 Thread Riccardo Lucchese
Dan, On Sun, Jul 20, 2014 at 07:52:53AM +0300, Dan Carpenter wrote: > On Sat, Jul 19, 2014 at 09:34:56PM +0200, Riccardo Lucchese wrote: > > It is silly to go through an if statement to set a single boolean > > value in function of a single boolean expression. In the function > > lov_check_set, as

Re: [PATCH 1/3] staging: lustre/lustre/lov: Remove unneeded 'if' statement in lov_request.c/lov_check_set()

2014-07-20 Thread Riccardo Lucchese
On Sat, Jul 19, 2014 at 12:59:22PM -0700, Joe Perches wrote: > On Sat, 2014-07-19 at 21:34 +0200, Riccardo Lucchese wrote: > > It is silly to go through an if statement to set a single boolean > > value in function of a single boolean expression. In the function > > lov_check_set, assign the return

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-20 Thread Chen Gang
On 07/20/2014 05:51 PM, Chen Gang wrote: > On 07/20/2014 05:45 PM, Richard Weinberger wrote: >> >> >> Am 20.07.2014 10:38, schrieb Chen Gang: >>> On 07/19/2014 02:02 AM, Chen Gang wrote: > 2014-07-18 18:51 GMT+08:00 Richard Weinberger : >> Am 18.07.2014 12:44, schrieb Chen Gang: >>> On

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-20 Thread Chen Gang
On 07/20/2014 05:45 PM, Richard Weinberger wrote: > > > Am 20.07.2014 10:38, schrieb Chen Gang: >> On 07/19/2014 02:02 AM, Chen Gang wrote: 2014-07-18 18:51 GMT+08:00 Richard Weinberger : > Am 18.07.2014 12:44, schrieb Chen Gang: >> On 07/18/2014 03:35 PM, Richard Weinberger wrote: >

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-20 Thread Richard Weinberger
Am 20.07.2014 10:38, schrieb Chen Gang: > On 07/19/2014 02:02 AM, Chen Gang wrote: >>> 2014-07-18 18:51 GMT+08:00 Richard Weinberger : Am 18.07.2014 12:44, schrieb Chen Gang: > On 07/18/2014 03:35 PM, Richard Weinberger wrote: >> Am 18.07.2014 02:36, schrieb Chen Gang: >>> >>

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-20 Thread Chen Gang
On 07/20/2014 04:38 PM, Chen Gang wrote: > On 07/19/2014 02:02 AM, Chen Gang wrote: >>> 2014-07-18 18:51 GMT+08:00 Richard Weinberger : Am 18.07.2014 12:44, schrieb Chen Gang: > On 07/18/2014 03:35 PM, Richard Weinberger wrote: >> Am 18.07.2014 02:36, schrieb Chen Gang: >>> >>>

[PATCHv2] Staging: vt6655: Remove redundant comments in wcmd.h

2014-07-20 Thread Igor Bezukh
Removed redundant comments in the header file wcmd.h Signed-off-by: Igor Bezukh --- Changes v2: I've missed another redundant comment "//ms" so I've deleted it and added "vt6655" to the patch subject drivers/staging/vt6655/wcmd.h | 15 ++- 1 file changed, 2 insertions(+), 13 dele

[PATCH 2/2] Staging: Remove redundant comments in wcmd.h file

2014-07-20 Thread Igor Bezukh
Removed redundant comments in the header file wcmd.h Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/wcmd.h | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/staging/vt6655/wcmd.h b/drivers/staging/vt6655/wcmd.h index 2844476..696916c 100644 --- a/drivers/staging/vt

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-20 Thread Chen Gang
On 07/19/2014 02:02 AM, Chen Gang wrote: >> 2014-07-18 18:51 GMT+08:00 Richard Weinberger : >>> Am 18.07.2014 12:44, schrieb Chen Gang: On 07/18/2014 03:35 PM, Richard Weinberger wrote: > Am 18.07.2014 02:36, schrieb Chen Gang: >> >> On 07/18/2014 02:09 AM, Richard Weinberger wrote

[PATCH] staging: vt6655: Fixed checkpatch errors

2014-07-20 Thread Petar Dimitrijevic
This patch fixes the errors report by the checkpatch script. Most of them are use of C99 comments. The checkpatch doesn't report any errors after the clean up. However, please not that there are still ton of warnings left. Signed-off-by: Petar Dimitrijevic --- drivers/staging/vt6655/datarate.c