新法下不得认定为工伤的情形有哪些PM 02:20:33

2016-03-15 Thread 日火瓦则
4355382 ━━━ 新《劳动合同法》、《社会保险法》、《工伤保险条例》实操应对策略 与有效调岗调薪、裁员解雇及违纪问题员工处理技巧 ━

[PATCHv2] staging: vt6655: fix style violations for lines over 80 characters

2016-03-15 Thread Kathryn Hampton
This patch addresses line length errors reported by checkpatch.pl that could be fixed with simple line breaks. Signed-off-by: Kathryn Hampton --- Resending this patch to eliminate confusion over sending twice with different commit descriptions. drivers/staging/vt6655/baseband.c | 20 ++---

RE: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V

2016-03-15 Thread KY Srinivasan
> -Original Message- > From: Martin K. Petersen [mailto:martin.peter...@oracle.com] > Sent: Tuesday, March 15, 2016 2:25 PM > To: KY Srinivasan > Cc: Christoph Hellwig ; gre...@linuxfoundation.org; > linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; > oher...@suse.com; jbottom.

[PATCH] staging: comedi: ni_mio_common: fix the ni_write[blw]() functions

2016-03-15 Thread H Hartley Sweeten
Memory mapped io (dev->mmio) should not also be writing to the ioport (dev->iobase) registers. Add the missing 'else' to these functions. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_mio_common.c | 12 ++-- 1 file changed,

Re: [PATCH] staging/comedi/dt282x: avoid integer overflow warning

2016-03-15 Thread Arnd Bergmann
On Tuesday 15 March 2016 21:35:40 Hartley Sweeten wrote: > On Monday, March 14, 2016 3:48 PM, Arnd Bergmann wrote: > > gcc-6 warns about passing negative signed integer into swab16() > > in the dt282x driver: > > > > > The warning makes sense, though the code is correct as far as I > > can tell.

RE: [PATCH] staging/comedi/dt282x: avoid integer overflow warning

2016-03-15 Thread Hartley Sweeten
On Monday, March 14, 2016 3:48 PM, Arnd Bergmann wrote: > gcc-6 warns about passing negative signed integer into swab16() > in the dt282x driver: > The warning makes sense, though the code is correct as far as I > can tell. > > This disambiguates the operation by making the constant expressions

Re: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V

2016-03-15 Thread Martin K. Petersen
> "KY" == KY Srinivasan writes: KY> Till recently I had not. However, we do support publishing wwn in KY> the guest and some customers wanted this. That is the reason I am KY> attaching FC transport and working through the issues. With this KY> change, I now have wwn names published in the gu

Re: [PATCH] staging:vt6655: fix coding style violations for lines over 80 characters

2016-03-15 Thread Forest Bond
Hi, On Tue, Mar 15, 2016 at 01:49:24PM -0700, Kathryn Hampton wrote: > I think I need to rebase and try again. Can someone please explain > the protocol for sending out the same patch? In practice it depends on the maintainer but in general the right thing to do is to indicate the patch version

Re: [PATCH] staging:vt6655: fix coding style violations for lines over 80 characters

2016-03-15 Thread Kathryn Hampton
Hello, I didn't think the first mail went through, and then noticed that the commit description needed to be shorter than the 76 characters per line so I ammended it and sent it using git send-email instead of mutt. There was no change to the source files. I think I need to rebase and try again. C

[PATCH] Staging: wlan-ng: moved memset() calls after copy_from_user() call

2016-03-15 Thread Claudiu Beznea
This patch moves memset() calls from p80211netdev_ethtool() after copy_from_user() call in order to avoid unnecessary instruction in case copy_from_user() fails. Signed-off-by: Claudiu Beznea --- drivers/staging/wlan-ng/p80211netdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

Re: [PATCH 1/2] Staging: wlan-ng: removed prototype of p80211_stt_findproto() from this file.

2016-03-15 Thread kbuild test robot
Hi Claudiu, [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.5 next-20160315] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Claudiu-Beznea/Staging-wlan-ng

[PATCH 1/2] Staging: wlan-ng: removed prototype of p80211_stt_findproto() from this file.

2016-03-15 Thread Claudiu Beznea
This patch removes the prototype of p80211_stt_findproto() from p80211conv.h since global scope is not necessary. Signed-off-by: Claudiu Beznea --- drivers/staging/wlan-ng/p80211conv.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211conv.h b/drivers/staging/wl

[PATCH 2/2] Staging: wlan-ng: convert p80211_stt_findproto() to static inline functions

2016-03-15 Thread Claudiu Beznea
This patch convert p80211_stt_findproto() to "static inline" since it is used only in p80211conv.c file and also has few instructins. After the scope was changed to static the function definition was moved at the beginning of the file to avoid undefined references. Signed-off-by: Claudiu Beznea -

[PATCH] Staging: nvec: removes a useless cast on a void pointer

2016-03-15 Thread Ben Marsh
Remove an unnecessary cast on a void pointer in nvec_power.c Signed-off-by: Ben Marsh --- drivers/staging/nvec/nvec_power.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/nvec/nvec_power.c b/drivers/staging/nvec/nvec_power.c index b4a0545..fcbb0fa 100644

[PATCH] staging: netlogic: removed 1 multiple assignment checkpatch warning

2016-03-15 Thread laerdevstudios
From: Parth Sane Fixed multiple assignment checkpatch warning by rearranging code. Signed-off-by: Parth Sane --- drivers/staging/netlogic/platform_net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/netlogic/platform_net.c b/drivers/staging/netlogic/pl

Re: [PATCH] staging: netlogic: removed 1 multiple assignment checkpatch warning

2016-03-15 Thread Greg KH
On Tue, Mar 15, 2016 at 04:23:12PM +, laerdevstud...@gmail.com wrote: > From: Parth Sane > > diff --git a/drivers/staging/netlogic/platform_net.c > b/drivers/staging/netlogic/platform_net.c > index 7806c2b..daee1b2 100644 > --- a/drivers/staging/netlogic/platform_net.c > +++ b/drivers/stagin

Re: [PATCH] staging: netlogic: removed 1 multiple assignment checkpatch warning

2016-03-15 Thread Michal Marek
This should go to the staging mailing list. Michal Dne 11.3.2016 v 10:22 laerdevstud...@gmail.com napsal(a): > From: Parth Sane > > Fixed netlogic checkpatch multiple assignment warning in platform_net.c > > Signed-off-by: Parth Sane > --- > drivers/staging/netlogic/platform_net.c | 3 ++- >

[PATCH] staging: netlogic: removed 1 multiple assignment checkpatch warning

2016-03-15 Thread laerdevstudios
From: Parth Sane diff --git a/drivers/staging/netlogic/platform_net.c b/drivers/staging/netlogic/platform_net.c index 7806c2b..daee1b2 100644 --- a/drivers/staging/netlogic/platform_net.c +++ b/drivers/staging/netlogic/platform_net.c @@ -86,7 +86,8 @@ static void xlr_resource_init(struct resourc

Re: [PATCH] media: add GFP flag to media_*() that could get called in atomic context

2016-03-15 Thread Mauro Carvalho Chehab
Em Mon, 14 Mar 2016 14:09:09 +0200 Sakari Ailus escreveu: > Hi Mauro, > > On Mon, Mar 14, 2016 at 08:46:33AM -0300, Mauro Carvalho Chehab wrote: > > Em Mon, 14 Mar 2016 12:52:54 +0200 > > Sakari Ailus escreveu: > > > > > Hi Mauro, > > > > > > On Mon, Mar 14, 2016 at 07:13:58AM -0300, Mauro

RE: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V

2016-03-15 Thread KY Srinivasan
> -Original Message- > From: Christoph Hellwig [mailto:h...@infradead.org] > Sent: Tuesday, March 15, 2016 6:40 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; oher...@suse.com; > jbottom...@parallels.com; h...@infrad

Re: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V

2016-03-15 Thread Christoph Hellwig
On Sat, Mar 12, 2016 at 01:52:48PM -0800, K. Y. Srinivasan wrote: > The default user scan function associated with FC (fc_user_scan) > is not suitable for FC hosts on Hyper-V since we don't have > an rport associated with FC host on Hyper-V . Set it to NULL so we can > support manual scan of FC tar

[PATCH 7/7] staging: wilc1000: removes an unnecessary if-condition

2016-03-15 Thread Leo Kim
This patch removes an unnecessary if-condition. Regardless of an if-condition is performed unconditionally '_end_' statement. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/stagi

[PATCH 6/7] staging: wilc1000: removes goto definitions from wilc_wlan_firmware_download

2016-03-15 Thread Leo Kim
This patch removes goto definitions from wilc_wlan_firmware_download function. Goto '_fail_1' feature is error return. It returns error type directly without result variable replacement as well. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 8 ++-- 1 file changed, 2 inser

[PATCH 3/7] staging: wilc1000: removes duplicate vif variable setting

2016-03-15 Thread Leo Kim
This patches removes duplicate vif variable setting. This value has already been set previously. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c inde

[PATCH 5/7] staging: wilc1000: changes an ambiguous debug messages

2016-03-15 Thread Leo Kim
This patches changes an ambiguous debug messages. The device types are both SDIO or SPI. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wl

[PATCH 4/7] staging: wilc1000: removes duplicate wilc variable setting

2016-03-15 Thread Leo Kim
This patches removes duplicate wilc variable setting. This value has already been set to wl variable previously. Replace wilc with wl as well. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/s

[PATCH 2/7] staging: wilc1000: wilc_spi.c: removes debug print log

2016-03-15 Thread Leo Kim
This patches removes unnecessary debug print logs. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_spi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_spi.c b/drivers/staging/wilc1000/wilc_spi.c index d41b8b6..4268e2f 100644 --- a/drivers/staging/w

[PATCH 1/7] staging: wilc1000: removes function 'init_tcp_tracking()'

2016-03-15 Thread Leo Kim
This patch removes function 'init_tcp_tracking()'. The function is an unnecessary return. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index fd

Re: [PATCH v8 2/2] staging/android: refactor SYNC IOCTLs

2016-03-15 Thread kbuild test robot
Hi Gustavo, [auto build test WARNING on staging/staging-testing] [also build test WARNING on next-20160315] [cannot apply to v4.5] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Gustavo