[PATCH] Patch to integrate RapidDisk and RapidCache RAM Drive / Caching modules into stating subsystem.

2015-05-31 Thread Petros Koutoupis
Attached is a patch for two modules: RapidDisk RapidCache. RapidDisk is a Linux RAM drive module which allows the user to dynamically create, remove, and resize RAM-based block devices. RapidDisk is designed to work with both volatile and non-volatile memory. In the case of volatile memory,

Re: [PATCH] staging: Replace kzalloc and memcpy by kmemdup

2015-05-31 Thread gre...@linuxfoundation.org
On Sun, May 31, 2015 at 06:13:00AM -0700, Joe Perches wrote: On Sun, 2015-05-31 at 11:35 +0900, gre...@linuxfoundation.org wrote: On Wed, May 20, 2015 at 07:04:27AM +, Dumbre, Nitesh Dilip (N.) wrote: This patch was generated by coccicheck and replaces kzalloc followed by memcpy with

[PATCH v5 06/34] staging: rtl8192e: Remove rtllib_crypt.[ch]

2015-05-31 Thread Mateusz Kulikowski
It is neither compiled nor used in rtl8192e. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_crypt.c | 254 drivers/staging/rtl8192e/rtllib_crypt.h | 34 - 2 files changed, 288 deletions(-) delete mode

[PATCH v5 01/34] staging: rtl8192e: accept const MAC address

2015-05-31 Thread Mateusz Kulikowski
Make set_swcam, setKey and rtllib_probe_resp parameter (MAC address) const. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/rtl_cam.c | 4 ++-- drivers/staging/rtl8192e/rtl8192e/rtl_cam.h | 4 ++-- drivers/staging/rtl8192e/rtllib_softmac.c |

[PATCH v5 05/34] staging: rtl8192e: Replace memcmp() with ether_addr_equal()

2015-05-31 Thread Mateusz Kulikowski
Use dedicated macro to compare ethernet addresses in probe_rq_parse(). Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_softmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c

[PATCH v5 08/34] staging: rtl8192e: Remove RTLLIB_ERROR() and RTLLIB_WARNING()

2015-05-31 Thread Mateusz Kulikowski
Use pr_* where needed (rtllib init code). Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 2 -- drivers/staging/rtl8192e/rtllib_module.c | 8 +++- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git

[PATCH v5 09/34] staging: rtl8192e: Remove RTLLIB_DEBUG_WX()

2015-05-31 Thread Mateusz Kulikowski
Use netdev_dbg() instead of RTLLIB_DEBUG_WX(). Rewrite some messages to be more readable. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 1 - drivers/staging/rtl8192e/rtllib_wx.c | 33 - 2 files changed,

[PATCH v5 10/34] staging: rtl8192e: Simplify rtllib_process_probe_response()

2015-05-31 Thread Mateusz Kulikowski
- Extract frame_ctl once and use it as variable. - Drop endian conversion in is_beacon() function (used in simplified function only) - Simplify debug messages - Invert STYPE checks in debug messages - it is valid as only BEACON and PROBE_RESP are allowed Signed-off-by: Mateusz Kulikowski

[PATCH v5 12/34] staging: rtl8192e: Remove RTLLIB_DEBUG_(FRAG|EAP|DROP|STATE|TX|RX)()

2015-05-31 Thread Mateusz Kulikowski
Use netdev_dbg() instead. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 6 drivers/staging/rtl8192e/rtllib_rx.c | 58 drivers/staging/rtl8192e/rtllib_tx.c | 5 ++-- 3 files changed, 35

[PATCH v5 07/34] staging: rtl8192e: Replace RTLLIB_DEBUG(DL_ERR) with netdev_*()

2015-05-31 Thread Mateusz Kulikowski
Replace all RTLLIB_DEBUG(RTLLIB_DL_ERR, *) calls with netdev_err() for errors that really should be reported to user. Use netdev_warn() for the rest. Rephrase some of the messages to make them more readable/compact. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com ---

[PATCH v5 00/34] staging: rtl8192e: Fix more checkpatch.pl warnings

2015-05-31 Thread Mateusz Kulikowski
Updated series of patches for rtl8192. Rebased to latest staging-next (9535ebc5e). Built and target tested (tests like for v3 + download of 1Mb file over http). Side note: quality/performance of this driver is still poor - it drops a lot of packets (at least when talking to 802.11N/ 2.4G / WPA2

[PATCH v5 04/34] staging: rtl8192e: Fix DEEP_INDENTATION warning in rtllib_parse_info_param()

2015-05-31 Thread Mateusz Kulikowski
Move MFIE_TYPE_GENERIC handler to rtllib_parse_mife_generic() function. Code was not altered significantly, therefore in some places it generates LONG_LINE checkpatch.pl warnings. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_rx.c | 397

[PATCH v5 02/34] staging: rtl8192e: Make ethernet addresses properly aligned

2015-05-31 Thread Mateusz Kulikowski
Reorder ethernet addresses allocated on stack or in non-packed structures to keep them aligned(2). Use ETH_ALEN as array length in places where it was hardcoded to 6. Alignment verified using pahole where possible and target-tested with BUG_ON() trap in ether_addr_copy. Signed-off-by: Mateusz

[PATCH v5 15/34] staging: rtl8192e: Remove RTLLIB_DEBUG_INFO()

2015-05-31 Thread Mateusz Kulikowski
Use pr_debug() instead. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 1 - drivers/staging/rtl8192e/rtllib_module.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h

[PATCH v5 17/34] staging: rtl8192e: Remove RTLLIB_DEBUG_DATA()

2015-05-31 Thread Mateusz Kulikowski
Use print_hex_dump_bytes() if VERBOSE_DEBUG is enabled. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 20 drivers/staging/rtl8192e/rtl819x_HTProc.c | 7 +-- drivers/staging/rtl8192e/rtllib.h | 11

[PATCH v5 13/34] staging: rtl8192e: Remove RTLLIB_DEBUG_QOS()

2015-05-31 Thread Mateusz Kulikowski
- Pass extra argument (rtllib_device) to rtllib_parse_qos_info_param_IE() and update_network() - Replace RTLLIB_DEBUG_QOS() with netdev_dbg() - Remove RTLLIB_DEBUG_QOS() Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 1 -

[PATCH v5 30/34] staging: rtl8192e: rtl8192_phy_checkBBAndRF(): Don't check MAC

2015-05-31 Thread Mateusz Kulikowski
This function never supported checking of MAC block. Instead of printing several warnings - print it once and exit. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-)

[PATCH v5 29/34] staging: rtl8192e: Remove unneeded RT_TRACE(COMP_ERR, ...)

2015-05-31 Thread Mateusz Kulikowski
This messages are not needed, as failure is reported earlier in code. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c | 1 - drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 1 - 2 files changed, 2 deletions(-) diff

[PATCH v5 22/34] staging: rtl8192e: Fix LONG_LING in rtllib_parse_info_param()

2015-05-31 Thread Mateusz Kulikowski
Take out MIFE_TYPE_HT_CAP processing into separate function - rtllib_parse_mfie_ht_cap() Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_rx.c | 49 +--- 1 file changed, 29 insertions(+), 20 deletions(-) diff

RE: [PATCH V2 3/3] Drivers: hv: vmbus: Allocate ring buffer memory in NUMA aware fashion

2015-05-31 Thread KY Srinivasan
-Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Saturday, May 30, 2015 11:41 PM To: KY Srinivasan Cc: linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; vkuzn...@redhat.com; jasow...@redhat.com Subject: Re:

Re: [PATCH] Patch to integrate RapidDisk and RapidCache RAM Drive / Caching modules into stating subsystem.

2015-05-31 Thread Greg KH
On Sun, May 31, 2015 at 02:43:16PM -0500, Petros Koutoupis wrote: Attached is a patch for two modules: RapidDisk RapidCache. RapidDisk is a Linux RAM drive module which allows the user to dynamically create, remove, and resize RAM-based block devices. RapidDisk is designed to work with

Re: [PATCH] This patch fixes WARNING: please, no space before tabs given by checkpatch.pl

2015-05-31 Thread Joglekar Tejas
On Sun, May 31, 2015 at 07:09:56PM +0530, Joglekar Tejas wrote: Signed-off-by: Joglekar Tejas joglekarte...@gmail.com --- drivers/staging/comedi/drivers/ni_at_a2150.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/ni_at_a2150.c

[PATCH v5 18/34] staging: rtl8192e: Remove remains of RTLLIB_*_DEBUG() (including proc entry)

2015-05-31 Thread Mateusz Kulikowski
Remove rest of rtllib debug system - it is no longer used - proper netdev_* functions are used in most cases. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 45 -- drivers/staging/rtl8192e/rtllib_module.c | 55

[PATCH v5 26/34] staging: rtl8192e: Replace ?: with max_t

2015-05-31 Thread Mateusz Kulikowski
Improve readability and make checkpatch happy. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c

[PATCH v5 20/34] staging: rtl8192e: Fix PREFER_PR_LEVEL warnings

2015-05-31 Thread Mateusz Kulikowski
Fix most of remaining PREFER_PR_LEVEL warnings in rtllib. Replace printk() with netdev_* if possible, pr_* in other cases. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_crypt_ccmp.c | 2 +- drivers/staging/rtl8192e/rtllib_crypt_tkip.c | 67

[PATCH v5 33/34] staging: rtl8192e: rtl8192E_suspend(): Fix WOL reporting

2015-05-31 Thread Mateusz Kulikowski
WOL capability was reported in an awkward way - print it nicely. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/rtl_pm.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_pm.c

[PATCH v5 27/34] staging: rtl8192e: Replace ?: with min_t

2015-05-31 Thread Mateusz Kulikowski
Replace :? with min_t for readability. Remove check that is always false. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib_softmac_wx.c | 8 +--- drivers/staging/rtl8192e/rtllib_wx.c | 3 +-- 2 files changed, 2 insertions(+), 9

[PATCH v5 11/34] staging: rtl8192e: Remove RTLLIB_DEBUG_SCAN()

2015-05-31 Thread Mateusz Kulikowski
Use netdev_dbg() instead, remove duplicated logs. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 1 - drivers/staging/rtl8192e/rtllib_rx.c | 101 --- drivers/staging/rtl8192e/rtllib_wx.c | 12 +++-- 3

[PATCH v5 23/34] staging: rtl8192e: Remove unimplemented iwpriv handlers

2015-05-31 Thread Mateusz Kulikowski
Remove the following private variables: - force_mic_error - changes force_mic_error that is not used - radio - changes sw_radio_on that is not used - adhoc_peer_list - unimplemented - firm_ver - unimplemented Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com ---

Re: [PATCH] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-31 Thread Gaston Gonzalez
On Sun, May 31, 2015 at 10:45:27AM +0900, Greg KH wrote: On Tue, May 26, 2015 at 06:47:14PM -0300, Gaston Gonzalez wrote: Fix the following sparse warnings: drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:663:32: warning: incorrect type in assignment (different base types)

[PATCH RESEND] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-31 Thread Gaston Gonzalez
Fix the following sparse warnings: drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:663:32: warning: incorrect type in assignment (different base types) drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:663:32:expected restricted __le16 [usertype] frame_ctl

Re: [PATCH v5 00/34] staging: rtl8192e: Fix more checkpatch.pl warnings

2015-05-31 Thread Joe Perches
On Sun, 2015-05-31 at 20:19 +0200, Mateusz Kulikowski wrote: Updated series of patches for rtl8192. [] 31 files changed, 1260 insertions(+), 2011 deletions(-) Nice diffstat btw: If you have to resubmit this, please try to remove the unnecessary periods after logging statements. Things like:

Re: [PATCH v5 09/34] staging: rtl8192e: Remove RTLLIB_DEBUG_WX()

2015-05-31 Thread Greg KH
On Sun, May 31, 2015 at 08:19:28PM +0200, Mateusz Kulikowski wrote: Use netdev_dbg() instead of RTLLIB_DEBUG_WX(). Rewrite some messages to be more readable. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtllib.h| 1 -

[PATCH] staging: wlan-ng: fix long line

2015-05-31 Thread Douglas Barbonaglia Sathler Figueiredo
From: douglasbsf eng.douglasfigueir...@gmail.com Style (line over 80 chars) in drivers/staging/wlan-ng/prism2fw.c Signed-off-by: Douglas Barbonaglia Sathler Figueiredo eng.douglasfigueir...@gmail.com --- drivers/staging/wlan-ng/prism2fw.c | 8 ++-- 1 file changed, 6 insertions(+), 2

[PATCH] Staging: comedi: ni_at_a2150: remove extra spaces before tab

2015-05-31 Thread Joglekar Tejas
This patch fix warning given by checkpatch.pl abouts spaces given before tab Signed-off-by: Joglekar Tejas joglekarte...@gmail.com --- drivers/staging/comedi/drivers/ni_at_a2150.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/ni_at_a2150.c

[PATCH] Patch to integrate RapidDisk and RapidCache RAM Drive / Caching modules into stating subsystem.

2015-05-31 Thread Petros Koutoupis
Attached is a patch for two modules: RapidDisk RapidCache. RapidDisk is a Linux RAM drive module which allows the user to dynamically create, remove, and resize RAM-based block devices. RapidDisk is designed to work with both volatile and non-volatile memory. In the case of volatile memory,

[PATCH] Staging: vt6655: Remove unnecessary equality checks in rxtx.c

2015-05-31 Thread Harisangam, Sharvari (S.)
From: Sharvari Harisangam shari...@visteon.com Modified the if-else statements to remove unnecessary comparisons in rxtx.c. This change was detected with the help of coccinelle tool Signed-off-by: Sharvari Harisangam shari...@visteon.com --- drivers/staging/vt6655/rxtx.c |8 1

Re: [PATCH RESEND] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-31 Thread Greg KH
On Sun, May 31, 2015 at 10:41:52PM -0300, Gaston Gonzalez wrote: On Mon, Jun 01, 2015 at 08:24:17AM +0900, Greg KH wrote: On Sun, May 31, 2015 at 08:07:21PM -0300, Gaston Gonzalez wrote: On Mon, Jun 01, 2015 at 07:17:39AM +0900, Greg KH wrote: On Sun, May 31, 2015 at 12:17:48PM -0300,

Re: [PATCH RESEND] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-31 Thread Gaston Gonzalez
On Mon, Jun 01, 2015 at 08:24:17AM +0900, Greg KH wrote: On Sun, May 31, 2015 at 08:07:21PM -0300, Gaston Gonzalez wrote: On Mon, Jun 01, 2015 at 07:17:39AM +0900, Greg KH wrote: On Sun, May 31, 2015 at 12:17:48PM -0300, Gaston Gonzalez wrote: Fix the following sparse warnings:

Re: [PATCH 0/6] use devicemodel with parport

2015-05-31 Thread Greg Kroah-Hartman
On Wed, May 20, 2015 at 08:56:56PM +0530, Sudip Mukherjee wrote: After 5 versions of WIP, finally a patch submission. parport subsystem is now in the transition stage and supports the old model and the new device model. 3 of the drivers have been converted into new model and tested. After

Re: [PATCH v5 00/34] staging: rtl8192e: Fix more checkpatch.pl warnings

2015-05-31 Thread Greg KH
On Sun, May 31, 2015 at 08:19:19PM +0200, Mateusz Kulikowski wrote: Updated series of patches for rtl8192. Rebased to latest staging-next (9535ebc5e). Built and target tested (tests like for v3 + download of 1Mb file over http). Side note: quality/performance of this driver is still poor - it

Re: [PATCH RESEND] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-31 Thread Greg KH
On Sun, May 31, 2015 at 12:17:48PM -0300, Gaston Gonzalez wrote: Fix the following sparse warnings: drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:663:32: warning: incorrect type in assignment (different base types) drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:663:32:

Re: [PATCH RESEND] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-31 Thread Gaston Gonzalez
On Mon, Jun 01, 2015 at 07:17:39AM +0900, Greg KH wrote: On Sun, May 31, 2015 at 12:17:48PM -0300, Gaston Gonzalez wrote: Fix the following sparse warnings: drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:663:32: warning: incorrect type in assignment (different base types)

Re: [PATCH RESEND] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-31 Thread Gaston Gonzalez
On Mon, Jun 01, 2015 at 10:53:20AM +0900, Greg KH wrote: On Sun, May 31, 2015 at 10:41:52PM -0300, Gaston Gonzalez wrote: On Mon, Jun 01, 2015 at 08:24:17AM +0900, Greg KH wrote: On Sun, May 31, 2015 at 08:07:21PM -0300, Gaston Gonzalez wrote: On Mon, Jun 01, 2015 at 07:17:39AM +0900,

[PATCH 1/1] Drivers: hv: vmbus: Allocate ring buffer memory in NUMA aware fashion

2015-05-31 Thread K. Y. Srinivasan
Allocate ring buffer memory from the NUMA node assigned to the channel. Since this is a performance and not a correctness issue, if the node specific allocation were to fail, fall back and allocate without specifying the node. Signed-off-by: K. Y. Srinivasan k...@microsoft.com ---

Re: [PATCH] Patch to integrate RapidDisk and RapidCache RAM Drive / Caching modules into stating subsystem.

2015-05-31 Thread Greg KH
On Sun, May 31, 2015 at 09:43:57PM -0500, Petros Koutoupis wrote: 1969-12-31 18:00:00.0 -0600 +++ linux-next/drivers/staging/rapiddisk/TODO 2015-05-31 21:35:26.683515775 -0500 @@ -0,0 +1,5 @@ +TODO: +- checkpatch.pl cleanups (warnings) That's all that you need to do?

Re: [PATCH] staging: wlan-ng: fix long line

2015-05-31 Thread Greg Kroah-Hartman
On Sun, May 31, 2015 at 11:00:28PM -0300, Douglas Barbonaglia Sathler Figueiredo wrote: From: douglasbsf eng.douglasfigueir...@gmail.com That's not your real name, please use the same name you use in the signed-off-by line. thanks, greg k-h ___

Re: [PATCH RESEND] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-31 Thread Greg KH
On Sun, May 31, 2015 at 11:24:42PM -0300, Gaston Gonzalez wrote: On Mon, Jun 01, 2015 at 10:53:20AM +0900, Greg KH wrote: On Sun, May 31, 2015 at 10:41:52PM -0300, Gaston Gonzalez wrote: On Mon, Jun 01, 2015 at 08:24:17AM +0900, Greg KH wrote: On Sun, May 31, 2015 at 08:07:21PM -0300,

Re: [PATCH RESEND] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-05-31 Thread Greg KH
On Sun, May 31, 2015 at 08:07:21PM -0300, Gaston Gonzalez wrote: On Mon, Jun 01, 2015 at 07:17:39AM +0900, Greg KH wrote: On Sun, May 31, 2015 at 12:17:48PM -0300, Gaston Gonzalez wrote: Fix the following sparse warnings: drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:663:32:

Re: [PATCH 0/6] use devicemodel with parport

2015-05-31 Thread Sudip Mukherjee
On Mon, Jun 01, 2015 at 07:05:30AM +0900, Greg Kroah-Hartman wrote: On Wed, May 20, 2015 at 08:56:56PM +0530, Sudip Mukherjee wrote: After 5 versions of WIP, finally a patch submission. parport subsystem is now in the transition stage and supports the old model and the new device model. 3

Re: [PATCH] staging: rtl8192u: Patch to modify if, else conditions

2015-05-31 Thread Dhere, Chaitanya (C.)
On Sun, May 31, 2015 at 10:38:18AM +0900, gre...@linuxfoundation.org wrote: On Tue, May 19, 2015 at 04:55:57PM +, Dhere, Chaitanya (C.) wrote: In this patch: 1. the if condition is modified to remove the unnecessary equality check. 2. The else if condition is replaced by an else

Re: [PATCH V2 3/3] Drivers: hv: vmbus: Allocate ring buffer memory in NUMA aware fashion

2015-05-31 Thread Greg KH
On Sat, May 30, 2015 at 11:37:49PM -0700, K. Y. Srinivasan wrote: Allocate ring buffer memory from the NUMA node assigned to the channel. But you do more than just that. If there's a failure, you fall-back to the old allocation method. Why not mention that as well? And is that what you really

Re: [staging:staging-testing 524/578] drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/ldlm_pool.c:721:343: warning: (near initialization for 'lustre_attr_recalc_period.store')

2015-05-31 Thread Oleg Drokin
On May 31, 2015, at 2:32 AM, Greg Kroah-Hartman wrote: On Sun, May 31, 2015 at 11:59:50AM +0800, kbuild test robot wrote: tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing head: 895875a3d85596e3e2e46aeb382bf14f1419de82 commit:

Re: [PATCH net-next 0/2] hv_netvsc: Implement NUMA aware memory allocation

2015-05-31 Thread David Miller
From: K. Y. Srinivasan k...@microsoft.com Date: Thu, 28 May 2015 17:07:44 -0700 Allocate both receive buffer and send buffer from the NUMA node assigned to the primary channel. Series applied, thanks. ___ devel mailing list

Re: [staging:staging-testing 524/578] drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/ldlm_pool.c:721:343: warning: (near initialization for 'lustre_attr_recalc_period.store')

2015-05-31 Thread Greg Kroah-Hartman
On Sun, May 31, 2015 at 11:59:50AM +0800, kbuild test robot wrote: tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing head: 895875a3d85596e3e2e46aeb382bf14f1419de82 commit: 24b8c88a7122df35ce6a413cd76e9581411eab8f [524/578] staging/lustre/ldlm: move

[PATCH] staging/lustre/ldlm: Fix up LDLM_POOL_SYSFS_WRITER*_STORE define

2015-05-31 Thread green
From: Oleg Drokin gr...@linuxhacker.ru The store method defined by LDLM_POOL_SYSFS_WRITER_STORE and LDLM_POOL_SYSFS_WRITER_NOLOCK_STORE defines should use size_t count, not unsigned long. This produced a warning on i386 (and other 32bit architectures too, I guess) where unsigned long is not 32

[PATCH] staging: rtl8188eu: Kill dead calls to kill_pid()

2015-05-31 Thread Jakub Sitnicki
There is no interface to register PIDs of processes the driver should send a signal to. Remove it. Signed-off-by: Jakub Sitnicki jsitni...@gmail.com --- drivers/staging/rtl8188eu/include/drv_types.h | 1 - drivers/staging/rtl8188eu/include/osdep_service.h | 2 --

[PATCH v2] staging: fbtft: Add support for Himax HX8357D controller

2015-05-31 Thread Heiner Kallweit
The Himax HX8357D is used e.g. by the Adafruit PITFT Plus 3.5. Adafruit added HX8357D support to an own fork of fbtft and support Raspbian only (https://github.com/adafruit/adafruit-rpi-fbtft/). They don't intend to push it upstream but gave me the ok to do so. Original author: Sean Cross

Re: [PATCH] staging: fbtft: Add support for Himax HX8357D controller

2015-05-31 Thread Heiner Kallweit
Am 31.05.2015 um 03:00 schrieb Greg KH: On Thu, May 21, 2015 at 10:10:35PM +0200, Heiner Kallweit wrote: The Himax HX8357D is used e.g. by the Adafruit PITFT Plus 3.5. They added HX8357D support to an own fork of fbtft and support Raspbian only

Re: [PATCH] staging: Replace kzalloc and memcpy by kmemdup

2015-05-31 Thread Joe Perches
On Sun, 2015-05-31 at 11:35 +0900, gre...@linuxfoundation.org wrote: On Wed, May 20, 2015 at 07:04:27AM +, Dumbre, Nitesh Dilip (N.) wrote: This patch was generated by coccicheck and replaces kzalloc followed by memcpy with kmemdup Signed-off-by: Nitesh Dumbre ndum...@visteon.com

[PATCH] This patch fixes WARNING: please, no space before tabs given by checkpatch.pl

2015-05-31 Thread Joglekar Tejas
Signed-off-by: Joglekar Tejas joglekarte...@gmail.com --- drivers/staging/comedi/drivers/ni_at_a2150.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/ni_at_a2150.c b/drivers/staging/comedi/drivers/ni_at_a2150.c index 3a972d1..60469bb 100644 ---

Re: From Mr. Thomas Sann

2015-05-31 Thread Mr. Thomas Sann
I am Mr. Thomas Sann, I am sorry for this interruption. I have no other way to reach you than these ways, please accept my apology.I am a personal account manager to one of our foreign late customer. It is my interest to contact you in respect of this our client who opened a draft account in