Re: [PATCH] Staging: ks7010: Prefer using the BIT macro

2016-11-13 Thread Greg KH
On Mon, Nov 14, 2016 at 12:20:40PM +0530, Punit Vara wrote: > Replace all occurances of (1< ks7010_sdio.h to get rid of checkpatch.pl "CHECK" output "Prefer using > BIT macro" > > Signed-off-by: Punit Vara Why the odd indentation? Same for the Subject: line, why the extr

[PATCH] Staging: ks7010: Prefer using the BIT macro

2016-11-13 Thread Punit Vara
Replace all occurances of (1< --- drivers/staging/ks7010/ks7010_sdio.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.h b/drivers/staging/ks7010/ks7010_sdio.h index c89e570..197b4c0 100644 --- a/drivers/staging/ks701

[PATCH] [STYLE]staging:xgifb:vb_util.h No space after cast

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to: CHECK: No space is necessary after a cast Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/vb_util.h b/drivers/staging/xgifb/vb

[PATCH] [STYLE 2/2]staging:xgifb:vb_table.h Preferred space around

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to: CHECK: spaces preferred around that '+' Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_table.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/xgifb/vb_table.h b/drivers/staging/xgif

[PATCH] [STYLE 1/2]staging:xgifb:vb_table.h Blank line after declarations

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to: CHECK: Please use a blank line after function/struct/union/enum declarations Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_table.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/xgifb/vb_table.h b/drivers

[PATCH] [STYLE 20/20]staging:xgifb:vb_setmode.c Braces single statement

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmod

[PATCH] [STYLE 19/20]staging:xgifb:vb_setmode.c Align match parenthesis

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: Alignment should match open parenthesis Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmo

[PATCH] [STYLE 18/20]staging:xgifb:vb_setmode.c Align match parenthesis

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: Alignment should match open parenthesis Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 35 +++ 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/drivers/staging/x

[PATCH] [STYLE 17/20]staging:xgifb:vb_setmode.c Align match parenthesis

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: Alignment should match open parenthesis Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 44 -- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/drivers/stagin

[PATCH] [STYLE 16/20]staging:xgifb:vb_setmode.c Align match parenthesis

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: Alignment should match open parenthesis Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/xgif

[PATCH] [STYLE 15/20]staging:xgifb:vb_setmode.c Align match parenthesis

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: Alignment should match open parenthesis Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/staging/

[PATCH] [STYLE 14/20]staging:xgifb:vb_setmode.c Align match parenthesis

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: Alignment should match open parenthesis Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/staging/xgifb/vb_se

[PATCH] [STYLE 13/20]staging:xgifb:vb_setmode.c Align match parenthesis

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: Alignment should match open parenthesis Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 28 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/drivers/staging/xgifb/vb

[PATCH] [STYLE 12/20]staging:xgifb:vb_setmode.c Align match parenthesis

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: Alignment should match open parenthesis Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/staging/xgifb/

[PATCH] [STYLE 11/20]staging:xgifb:vb_setmode.c Align match parenthesis

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: Alignment should match open parenthesis Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/drivers/staging/xgifb/v

[PATCH] [STYLE 9/20]staging:xgifb:vb_setmode.c No space after cast

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: No space is necessary after a cast Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmode.c b

[PATCH] [STYLE 10/20]staging:xgifb:vb_setmode.c No space after cast

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: No space is necessary after a cast Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmode.

[PATCH] [STYLE 8/20]staging:xgifb:vb_setmode.c No space after cast

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: No space is necessary after a cast Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmode.c b/drive

[PATCH] [STYLE 7/20]staging:xgifb:vb_setmode.c No space after cast

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: No space is necessary after a cast Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmode.c b/dri

[PATCH] [STYLE 6/20]staging:xgifb:vb_setmode.c No space after cast

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: No space is necessary after a cast Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmode.c b/dri

[PATCH] [STYLE 5/20]staging:xgifb:vb_setmode.c No space after cast

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: No space is necessary after a cast Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmode.c

[PATCH] [STYLE 4/20]staging:xgifb:vb_setmode.c No space after cast

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: No space is necessary after a cast Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmode.c b/dri

[PATCH] [STYLE 3/20]staging:xgifb:vb_setmode.c Logical continuation

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: Logical continuations should be on the previous line Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmode.c b/

[PATCH] [STYLE 2/20]staging:xgifb:vb_setmode.c Preferred space around

2016-11-13 Thread Walt Feasel
Make suggested modification from checkpatch in reference to CHECK: spaces preferred around that '+' Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb

[PATCH] [STYLE 1/20]staging:xgifb:vb_setmode.c Spelling correction

2016-11-13 Thread Walt Feasel
Make spelling correction for 'vertical' Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_setmode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c index 6467d96..1655d3a 100644 --- a/drivers/s

[PATCH v2] [STYLE]staging:vme:vme_user.c Correct spelling mistakes

2016-11-13 Thread Walt Feasel
Make spelling corrections for 'correctly' and 'unregister'. Signed-off-by: Walt Feasel --- Removed the previously submitted U.S. spelling for 'initialise' to keep the correct U.K. spelling. drivers/staging/vme/devices/vme_user.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

Re: [PATCH] [STYLE]staging:vme:vme_user.c Correct spelling mistakes

2016-11-13 Thread Randy Dunlap
On 11/13/16 15:16, Walt Feasel wrote: > Make spelling corrections for 'initialize', 'correctly' > and 'unregister' > > Signed-off-by: Walt Feasel > --- > drivers/staging/vme/devices/vme_user.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/staging/vme/d

[PATCH] [STYLE 2/2]staging:xgifb:vb_init.c Logical continuations previous

2016-11-13 Thread Walt Feasel
Make suggested modifications from checkpatch in reference to: CHECK: Logical continuations should be on the previous line Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_init.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/vb_init.c b/driv

[PATCH] [STYLE 1/2]staging:xgifb:vb_init.c Align match parenthesis

2016-11-13 Thread Walt Feasel
Make suggested modifications from checkpatch in reference to: Alignment should match open parenthesis Signed-off-by: Walt Feasel --- drivers/staging/xgifb/vb_init.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/drivers/staging/xgifb/vb_init.c b/dr

[PATCH] [STYLE]staging:vme:vme_user.c Correct spelling mistakes

2016-11-13 Thread Walt Feasel
Make spelling corrections for 'initialize', 'correctly' and 'unregister' Signed-off-by: Walt Feasel --- drivers/staging/vme/devices/vme_user.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vme/devices/vme_user.c b/drivers/staging/vme/devices/vme_use

Re: [net-next 1/2] net: ethernet: slicoss: add slicoss gigabit ethernet driver

2016-11-13 Thread Andrew Lunn
> +static const char slic_stats_strings[][ETH_GSTRING_LEN] = { > + "rx_packets ", > + "rx_bytes ", > + "rx_multicasts ", > + "rx_errors ", > + "rx_buff_miss ", > + "rx_tp_csum ", > + "rx_tp_oflow", > + "rx_tp_hlen ", > + "rx_ip_csum

Re: [PATCH v4 26/26] staging: iio: tsl2583: move out of staging

2016-11-13 Thread Brian Masney
On Sun, Nov 13, 2016 at 12:57:25PM +, Jonathan Cameron wrote: > On 12/11/16 18:19, Brian Masney wrote: > > Move tsl2580, tsl2581, tsl2583 driver out of staging into mainline. > > > > Signed-off-by: Brian Masney > I had another read through on this one. A few oddites. > > I fixed up the inde

Re: [PATCH v4 26/26] staging: iio: tsl2583: move out of staging

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > Move tsl2580, tsl2581, tsl2583 driver out of staging into mainline. > > Signed-off-by: Brian Masney I had another read through on this one. A few oddites. I fixed up the indentation one way back in your patch fixing alignment. Made applying this patch mo

Re: [PATCH v4 25/26] staging: iio: tsl2583: add copyright and MODULE_AUTHOR

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > Add Brian Masney's copyright to the header and to the MODULE_AUTHOR > for all of the staging cleanups that has been done to this driver. > > The original MODULE_AUTHOR() did not have a space between his name and > email address. This patch also adds the mis

Re: [PATCH v4 24/26] staging: iio: tsl2583: remove unnecessary variable initialization

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > The ret variable in tsl2583_suspend() and tsl2583_resume() was > initialized to 0. This is not necessary so this patch removes the > initialization. > > Signed-off-by: Brian Masney Applied. > --- > drivers/staging/iio/light/tsl2583.c | 4 ++-- > 1 file ch

Re: [PATCH v4 23/26] staging: iio: tsl2583: remove unnecessary memset call

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > The entries in the lux table (als_device_lux) can be updated via sysfs > through the function in_illuminance_lux_table_store(). The last row in > the table must be terminated with values that are zero. The sysfs code > already ensures that the last row is al

Re: [PATCH v4 21/26] staging: iio: tsl2583: clarified comment about clearing interrupts

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > The comment that describes the code that clears the interrupt bit was > vague and didn't provide much value. This patch adds more detail about > why that bit needs to be cleared. > > Signed-off-by: Brian Masney Applied. > --- > drivers/staging/iio/light/t

Re: [PATCH v4 22/26] staging: iio: tsl2583: remove comment for tsl2583_probe()

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > The comment for tsl2583_probe() does not provide any useful value. > This patch removes the comment. > > Signed-off-by: Brian Masney Applied > --- > drivers/staging/iio/light/tsl2583.c | 4 > 1 file changed, 4 deletions(-) > > diff --git a/drivers/

Re: [PATCH v4 20/26] staging: iio: tsl2583: add tsl2583 to list of supported devices in the header

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > The header only listed the tsl2580 and tsl2581 devices as supported by > this driver. This patch adds the tsl2583 since it is also supported by > this driver. > > Signed-off-by: Brian Masney Applied. > --- > drivers/staging/iio/light/tsl2583.c | 2 +- > 1

Re: [PATCH v4 19/26] staging: iio: tsl2583: move from a global to a per device lux table

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > The driver contains a global lux table that can be updated via sysfs. > Change this to a per device lux table so that multiple devices can be > hooked up to the same system with different lux tables. > > There are 10 entries, plus 1 for the termination segm

Re: [PATCH v4 18/26] staging: iio: tsl2583: don't assume an unsigned int is 32 bits

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > in_illuminance_lux_table_store assumes that an unsigned int is 32 bits. > Replace this with sizeof(value[1]). > > Signed-off-by: Brian Masney Applied. > --- > drivers/staging/iio/light/tsl2583.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH v4 17/26] staging: iio: tsl2583: remove unnecessary parentheses

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > in_illuminance_lux_table_store() contains some unnecessary parentheses. > This patch removes them since they provide no value. > > Signed-off-by: Brian Masney Applied. > --- > drivers/staging/iio/light/tsl2583.c | 4 ++-- > 1 file changed, 2 insertions(+)

Re: [PATCH v4 16/26] staging: iio: tsl2583: change tsl2583_als_calibrate() to return 0 on success

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > tsl2583_als_calibrate() returns the newly computed gain_trim if the > calibration was successful. This function is only called by > in_illuminance_calibrate_store() and the return value inside that > sysfs attribute is only checked to see if an error was ret

Re: [PATCH v4 15/26] staging: iio: tsl2583: moved code block inside else statement

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > The check for ch1lux > ch0lux inside tsl2583_get_lux is only valid if > the ratio is not equal to zero. Move the code block inside the else > statement. This does away with the need to initialize the variables to > zero. > > Signed-off-by: Brian Masney App

Re: [PATCH v4 14/26] staging: iio: tsl2583: updated code comment to match what the code does

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > If channel 0 does not have any data, then the code sets the lux to zero. > The corresponding comment says that the last value is returned. This > updates the comment to correctly reflect what the code does. It also > clarifies the comment about why 0 is retu

Re: [PATCH v4 13/26] staging: iio: tsl2583: fix multiline comment syntax

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > The definition of the tsl2583_device_lux struct has a series of single > line comments. There are two other cases where the multiline comments > did not have an initial blank line. Change these comments to use the > proper multiline syntax. > > Signed-off-b

Re: [PATCH v4 12/26] staging: iio: tsl2583: combine sysfs documentation

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > There are two separate files describing the tsl2583 sysfs attributes. > Combine the two files into one. Updated the name of the sysfs attributes > to match the current ABI. > > Signed-off-by: Brian Masney > Suggested-by: Peter Meerwald-Stadler Applied. >

Re: [PATCH v4 11/26] staging: iio: tsl2583: change newlines to improve readability

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > Add and remove newlines to improve code readability in preparation for > moving the driver out of staging. > > Signed-off-by: Brian Masney Applied > --- > drivers/staging/iio/light/tsl2583.c | 14 -- > 1 file changed, 12 insertions(+), 2 delet

Re: [PATCH v4 10/26] staging: iio: tsl2583: fix comparison between signed and unsigned integers

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > Fixed warning found by make W=2: > > warning: comparison between signed and unsigned integer expressions > [-Wsign-compare] > > Signed-off-by: Brian Masney Applied. > --- > drivers/staging/iio/light/tsl2583.c | 7 --- > 1 file changed, 4 insertions(+

Re: [PATCH v4 09/26] staging: iio: tsl2583: fix alignment of #define values

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > Most of the values in the #defines have their values aligned on a single > column, but some do not. This changes the remaining defines to use > consistent alignment with the majority to improve code readability. > > Signed-off-by: Brian Masney Applied. > -

Re: [PATCH v4 08/26] staging: iio: tsl2583: unify function and variable prefix to tsl2583_

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > Some functions and variables were prefixed with either taos, tsl258x, > taos2583, or tsl2583. Change everything to use the tsl2583 prefix since > that is the name of the .c file. The taos_settings member inside the > taos_settings struct was renamed to als_s

Re: [PATCH v4 07/26] staging: iio: tsl2583: cleaned up logging

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > There are several places in the code where the function name is > hardcoded in the log message. Use the __func__ constant string to build > the log message. This also clarifies some of the error messages to match > the code and ensures that the correct prior

Re: [PATCH v4 06/26] staging: iio: tsl2583: remove the FSF's mailing address

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > Address warning from checkpatch: > > CHECK: Do not include the paragraph about writing to the Free Software > Foundation's mailing address from the sample GPL notice. The FSF has > changed addresses in the past, and may do so again. Linux already > includes

Re: [PATCH v4 05/26] staging: iio: tsl2583: remove redundant write to the control register in taos_probe()

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > taos_probe() calls i2c_smbus_write_byte() to select the control > register, however there are no subsequent calls to > i2c_smbus_read_byte(). The write call is unnecessary and is removed by > this patch. > > Verified that the driver still functions correctl

Re: [PATCH v4 04/26] staging: iio: tsl2583: change current chip state from a tristate to a bool

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > The current chip state is represented as a tristate (working, suspended, > and unknown). The unknown state was not used. This patch changes the > chip state so that it is now represented as a single boolean value > (suspended). > > Signed-off-by: Brian Masn

Re: [PATCH v4 03/26] staging: iio: tsl2583: remove unnecessary chip status checks in suspend/resume

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > The device probing and the suspend/resume code checks a flag internal to > the driver that determines whether or not the chip is in a working > state. These checks are not needed. This patch removes the unnecessary > checks. It will do no harm to the hardwar

Re: [PATCH v4 01/26] staging: iio: tsl2583: check if chip is in a working state in in_illuminance_calibrate_store

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > in_illuminance_calibrate_store() did not check to see if the chip is > in a working state. This patch adds the proper check. The return value > from taos_als_calibrate() was also not checked in this function, so the > proper check was also added while change

Re: [PATCH v4 02/26] staging: iio: tsl2583: remove unnecessary chip status check in taos_get_lux

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > taos_get_lux checks to see if the chip is in a working state. This > check is not necessary since it is only called from tsl2583_read_raw > and in_illuminance_calibrate_store (via taos_als_calibrate). The chip > state is already checked by these functions. >

Re: [PATCH 0/2] mmc: allow mmc_alloc_host() and tmio_mmc_host_alloc()

2016-11-13 Thread Greg Kroah-Hartman
On Fri, Nov 11, 2016 at 12:19:05PM +0900, Masahiro Yamada wrote: > 2016-11-10 22:35 GMT+09:00 Greg Kroah-Hartman : > > On Thu, Nov 10, 2016 at 10:24:21PM +0900, Masahiro Yamada wrote: > >> > >> sdhci_alloc_host() returns an error pointer when it fails. > >> but mmc_alloc_host() cannot. > >> > >> Th

[GIT PULL] Staging/IIO driver fixes for 4.9-rc5

2016-11-13 Thread Greg KH
The following changes since commit a909d3e636995ba7c349e2ca5dbb528154d4ac30: Linux 4.9-rc3 (2016-10-29 13:52:02 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.9-rc5 for you to fetch changes up to d70674eeaa5ef

Re: [net-next 1/2] net: ethernet: slicoss: add slicoss gigabit ethernet driver

2016-11-13 Thread kbuild test robot
Hi Lino, [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Lino-Sanfilippo/net-ethernet-slicoss-add-slicoss-gigabit-ethernet-driver/20161113-125131 config: powerpc-allyesconfig (attached as .config) compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9