[PATCH] staging/lustre/lnet: Don't call roundup_pow_of_two on zero in LNetEQAlloc

2016-02-05 Thread green
From: Oleg Drokin roundup_pow_of_two return when called on a zero argument is undefined, so don't call it like that. This fixes a problem introduced by commit 322489d9d551 ("staging/lustre: Use roundup_pow_of_two() in LNetEQAlloc()") since 0 is a valid count parameter for LNetEQAlloc. Also manif

[PATCH 0/2] Lustre debugfs fixes

2016-02-05 Thread green
From: Oleg Drokin These two patches tie some loose ends from the Lustre debugfs conversion, but while investigating them I also accumulated some questions that would be good to get answers for. 1. Unlike procfs, debugfs does not really guard your back and if root comes in and tries to write to a

[PATCH 2/2] staging/lustre/obdclass: export debugfs functionality for GPL only.

2016-02-05 Thread green
From: Oleg Drokin Turns out we mistakenly export some pretty-wide-reaching debugfs functions as EXPORT_SYMBOL instead of EXPORT_SYMBOL_GPL as we should, so this patch rectifies the situation. Signed-off-by: Oleg Drokin --- .../staging/lustre/lustre/obdclass/lprocfs_status.c| 18 +--

[PATCH 1/2] staging/lustre/libcfs: Properly handle debugfs read- and write-only files

2016-02-05 Thread green
From: Oleg Drokin It turns out that unlike procfs, debugfs does not really enforce permissions for root (similar to regular filesystems), so we need to ensure we are not providing ->write() method to read-only files and ->read() method for write-only files at registration. This fixes a couple of

[PATCH] staging: lustre: add static declaration

2016-02-05 Thread CHANG FU CHIAO
this function is only referenced within the file Signed-off-by: CHANG FU CHIAO --- drivers/staging/lustre/lustre/osc/osc_page.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/osc/osc_page.c b/drivers/staging/lustre/lustre/osc/osc_page.c ind

[PATCH net] hv_netvsc: Restore needed_headroom request

2016-02-05 Thread Vitaly Kuznetsov
Commit c0eb454034aa ("hv_netvsc: Don't ask for additional head room in the skb") got rid of needed_headroom setting for the driver. With the change I hit the following issue trying to use ptkgen module: [ 57.522021] kernel BUG at net/core/skbuff.c:1128! [ 57.522021] invalid opcode: [#1] S

[PATCH] staging: wilc1000: fix compilation without CONFIG_PM

2016-02-05 Thread Arnd Bergmann
After the addition of the wakeup code in wilc1000, it no longer builds when CONFIG_PM is disabled: drivers/staging/wilc1000/wilc_wfi_cfgoperations.c: In function 'wilc_create_wiphy': drivers/staging/wilc1000/wilc_wfi_cfgoperations.c:2632:13: error: 'struct wiphy' has no member named 'wowlan' w

Administrador do sistema

2016-02-05 Thread ADMIN
Sua caixa de correio excedeu o limite de armazenamento, que é de 20 GB como conjunto pelo administrador, você está atualmente em execução no 20,9 GB, você pode não ser capaz de Enviar ou receber novas mensagens até que você re-validar sua caixa de correio. Para Revalide sua caixa de correio, por fa

[PATCH] [media] media: davinci_vpfe: fix missing unlock on error in vpfe_prepare_pipeline()

2016-02-05 Thread weiyj_lk
From: Wei Yongjun Add the missing unlock before return from function vpfe_prepare_pipeline() in the error handling case. video->lock is lock/unlock in function vpfe_open(), and no need to unlock it here, so remove unlock video->lock. Signed-off-by: Wei Yongjun --- drivers/staging/media/davinc

Re: [RFC PATCH 1/2] iio: hmc5843 Add channel attribute for bias configuration

2016-02-05 Thread Daniel Baluta
On Thu, Feb 4, 2016 at 7:45 PM, Lars-Peter Clausen wrote: > On 02/04/2016 03:50 PM, Cristina Moraru wrote: >> Replace non standard meas_conf attribute with the standard IIO >> calibbias attribute. >> >> API for setting bias measurement configuration: >> >> 0 - Normal measurement configuration (def

[PATCH] staging: wilc1000: fix build failure

2016-02-05 Thread Sudip Mukherjee
wowlan' Looking at other drivers wowlan can be only used when CONFIG_PM is defined. Fixes: 73584a40d748 ("staging: wilc1000: add ops resuem/suspend/wakeup in cfg80211") Cc: Glen Lee Signed-off-by: Sudip Mukherjee --- builds of next-20160205. I think I have seen the same repor

Re: [PATCH v2 07/51] mtd: nand: core: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-05 Thread Boris Brezillon
On Thu, 4 Feb 2016 11:06:30 +0100 Boris Brezillon wrote: > The mtd_ooblayout_xxx() helper functions have been added to avoid direct > accesses to the ecclayout field, and thus ease for future reworks. > Use these helpers in all places where the oobfree[] and eccpos[] arrays > where directly acce

Re: [PATCH v2 05/51] mtd: add mtd_ooblayout_xxx() helper functions

2016-02-05 Thread Boris Brezillon
On Thu, 4 Feb 2016 11:06:28 +0100 Boris Brezillon wrote: > In order to make the ecclayout definition completely dynamic we need to > rework the way the OOB layout are defined and iterated. > > Create a few mtd_ooblayout_xxx() helpers to ease OOB bytes manipulation > and hide ecclayout internals