Masanari Iida | 27 May 16:51 2015
Picon

[PATCH] staging: gdm72xx: Fix typos in printk

This patch fix 2 spelling typos in printk within gdm72xx.

Signed-off-by: Masanari Iida <standby24x7 <at> gmail.com>
---
 drivers/staging/gdm72xx/gdm_wimax.c | 2 +-
 drivers/staging/gdm72xx/netlink_k.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/gdm72xx/gdm_wimax.c b/drivers/staging/gdm72xx/gdm_wimax.c
index 61d168e..08290d9 100644
--- a/drivers/staging/gdm72xx/gdm_wimax.c
+++ b/drivers/staging/gdm72xx/gdm_wimax.c
 <at>  <at>  -584,7 +584,7  <at>  <at>  static int gdm_wimax_get_prepared_info(struct net_device *dev, char *buf,
 		if (T == TLV_T(T_MAC_ADDRESS)) {
 			if (L != dev->addr_len) {
 				netdev_err(dev,
-					   "%s Invalid inofrmation result T/L [%x/%d]\n",
+					   "%s Invalid information result T/L [%x/%d]\n",
 					   __func__, T, L);
 				return -1;
 			}
diff --git a/drivers/staging/gdm72xx/netlink_k.c b/drivers/staging/gdm72xx/netlink_k.c
index 9d78bfc..f3cdaa6 100644
--- a/drivers/staging/gdm72xx/netlink_k.c
+++ b/drivers/staging/gdm72xx/netlink_k.c
 <at>  <at>  -121,7 +121,7  <at>  <at>  int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len)
 	int ret = 0;

 	if (group > ND_MAX_GROUP) {
-		pr_err("Group %d is invalied.\n", group);
(Continue reading)

Marcus Folkesson | 27 May 14:48 2015
Picon

[PATCH] staging: lustre: silence sparse warnings

Warnings reported by sparse:
drivers/staging/lustre/lustre/ptlrpc/pinger.c:94:5: warning: symbol 'ptlrpc_ping' was not
declared. Should it be static?
drivers/staging/lustre/lustre/ptlrpc/pinger.c:113:6: warning: symbol
'ptlrpc_update_next_ping' was not declared. Should it be static?
drivers/staging/lustre/lustre/ptlrpc/pinger.c:144:6: warning: symbol 'pinger_check_timeout'
was not declared. Should it be static?
drivers/staging/lustre/lustre/ptlrpc/pinger.c:425:21: warning: symbol 'ptlrpc_new_timeout' was
not declared. Should it be static?
drivers/staging/lustre/lustre/ptlrpc/pinger.c:551:1: warning: symbol 'pet_list' was not
declared. Should it be static?

Signed-off-by: Marcus Folkesson <marcus.folkesson <at> gmail.com>
---
 drivers/staging/lustre/lustre/ptlrpc/pinger.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/lustre/lustre/ptlrpc/pinger.c b/drivers/staging/lustre/lustre/ptlrpc/pinger.c
index 5abb91c..ff9d904 100644
--- a/drivers/staging/lustre/lustre/ptlrpc/pinger.c
+++ b/drivers/staging/lustre/lustre/ptlrpc/pinger.c
 <at>  <at>  -91,7 +91,7  <at>  <at>  int ptlrpc_obd_ping(struct obd_device *obd)
 }
 EXPORT_SYMBOL(ptlrpc_obd_ping);

-int ptlrpc_ping(struct obd_import *imp)
+static int ptlrpc_ping(struct obd_import *imp)
 {
 	struct ptlrpc_request *req;

(Continue reading)

Simon Guo | 27 May 11:05 2015
Picon

[PATCH 4.1.0-rc4] STAGING: Delare request_cache as static for drivers/staging/lustre/lustre/ptlrpc/client.c

Delare request_cache variable as static. It is only used by
drivers/staging/lustre/lustre/ptlrpc/client.c, and its naming is common
which will lead to namespace pollution.

Signed-off-by: Simon Guo <wei.guo.simon <at> gmail.com>
---
 drivers/staging/lustre/lustre/ptlrpc/client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lustre/ptlrpc/client.c b/drivers/staging/lustre/lustre/ptlrpc/client.c
index 45b7af7..347110e 100644
--- a/drivers/staging/lustre/lustre/ptlrpc/client.c
+++ b/drivers/staging/lustre/lustre/ptlrpc/client.c
 <at>  <at>  -390,7 +390,7  <at>  <at>  static int ptlrpc_at_recv_early_reply(struct ptlrpc_request *req)
 	return rc;
 }

-struct kmem_cache *request_cache;
+static struct kmem_cache *request_cache;

 int ptlrpc_request_cache_init(void)
 {
--

-- 
1.8.1.2
Shailendra Verma | 27 May 03:30 2015
Picon

[PATCH] staging:nvec: fix typo in comment

Fix spelling error in comment in function tegra_nvec_remove.

Signed-off-by: Shailendra Verma <shailendra.capricorn <at> gmail.com>
---
 drivers/staging/nvec/nvec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
index 1bdc8d0..164634d 100644
--- a/drivers/staging/nvec/nvec.c
+++ b/drivers/staging/nvec/nvec.c
 <at>  <at>  -916,7 +916,7  <at>  <at>  static int tegra_nvec_remove(struct platform_device *pdev)
 	nvec_unregister_notifier(nvec, &nvec->nvec_status_notifier);
 	cancel_work_sync(&nvec->rx_work);
 	cancel_work_sync(&nvec->tx_work);
-	/* FIXME: needs check wether nvec is responsible for power off */
+	/* FIXME: needs check whether nvec is responsible for power off */
 	pm_power_off = NULL;

 	return 0;
--

-- 
1.7.9.5
K. Y. Srinivasan | 27 May 01:21 2015
Picon

[PATCH net-next 1/1] hv_netvsc: Properly size the vrss queues

The current algorithm for deciding on the number of VRSS channels is
not optimal since we open up the min of number of CPUs online and the
number of VRSS channels the host is offering. So on a 32 VCPU guest
we could potentially open 32 VRSS subchannels. Experimentation has
shown that it is best to limit the number of VRSS channels to the number
of CPUs within a NUMA node. As part of this work introduce a module
parameter to control the number of sub-channels we would open up as well.
Here is the new algorithm for deciding on the number of sub-channels we
would open up:
        1) Pick the minimum of what the host is offering and what the driver
           in the guest is specifying via the module parameter.
        2) Pick the minimum of (1) and the numbers of CPUs in the NUMA
           node the primary channel is bound to.

Signed-off-by: K. Y. Srinivasan <kys <at> microsoft.com>
---
 drivers/net/hyperv/hyperv_net.h   |    1 +
 drivers/net/hyperv/netvsc_drv.c   |    6 ++++++
 drivers/net/hyperv/rndis_filter.c |   16 ++++++++++++++--
 3 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h
index ddcc7f8..dd45440 100644
--- a/drivers/net/hyperv/hyperv_net.h
+++ b/drivers/net/hyperv/hyperv_net.h
 <at>  <at>  -161,6 +161,7  <at>  <at>  struct netvsc_device_info {
 	unsigned char mac_adr[ETH_ALEN];
 	bool link_state;	/* 0 - link up, 1 - link down */
 	int  ring_size;
+	u32  max_num_vrss_chns;
(Continue reading)

Gaston Gonzalez | 26 May 23:47 2015
Picon

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

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
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:663:32:    got int
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:664:50: warning: invalid assignment: |=
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:664:50:    left side has type restricted __le16
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:664:50:    right side has type int

Signed-off-by: Gaston Gonzalez <gascoar <at> gmail.com>
---
 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
index d2e8b12..0477ba1 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
 <at>  <at>  -660,2 +660,2  <at>  <at>  inline struct sk_buff *ieee80211_authentication_req(struct ieee80211_network *be
 	auth = (struct ieee80211_authentication *)
 		skb_put(skb, sizeof(struct ieee80211_authentication));

-	auth->header.frame_ctl = IEEE80211_STYPE_AUTH;
-	if (challengelen) auth->header.frame_ctl |= IEEE80211_FCTL_WEP;
+	auth->header.frame_ctl = cpu_to_le16(IEEE80211_STYPE_AUTH);
+	if (challengelen)
+		auth->header.frame_ctl |= cpu_to_le16(IEEE80211_FCTL_WEP);

(Continue reading)

K. Y. Srinivasan | 26 May 23:23 2015
Picon

[PATCH V2 1/1] Drivers: hv: vmbus:Update preferred vmbus protocol version to windows 10.

From: Keith Mange <keith.mange <at> microsoft.com>

Add support for Windows 10.

Signed-off-by: Keith Mange <keith.mange <at> microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys <at> microsoft.com>
---
	V2: Fixed up the author's name.

 drivers/hv/connection.c |    8 +++++---
 include/linux/hyperv.h  |    4 +++-
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c
index acd50e9..4fc2e88 100644
--- a/drivers/hv/connection.c
+++ b/drivers/hv/connection.c
 <at>  <at>  -58,6 +58,9  <at>  <at>  static __u32 vmbus_get_next_version(__u32 current_version)
 	case (VERSION_WIN8_1):
 		return VERSION_WIN8;

+	case (VERSION_WIN10):
+		return VERSION_WIN8_1;
+
 	case (VERSION_WS2008):
 	default:
 		return VERSION_INVAL;
 <at>  <at>  -80,7 +83,7  <at>  <at>  static int vmbus_negotiate_version(struct vmbus_channel_msginfo *msginfo,
 	msg->interrupt_page = virt_to_phys(vmbus_connection.int_page);
 	msg->monitor_page1 = virt_to_phys(vmbus_connection.monitor_pages[0]);
(Continue reading)

Don Zickus | 26 May 20:40 2015
Picon

[PATCH 00/13 V3] Continued rest of unisys driver update

Hi,

GregKH ran into an issue where the last 13 patches didn't apply.

It looks like Ben cleaned up the patches to address checkpatch.pl
warnings and forgot to refresh the patchset.

I just refreshed the patchset and everything should apply on top
of staging-testing (commit a30baec189f7db458).

No functional changes, just surrounding patch context refresh.

David Kershner (3):
  staging: unisys: Update diag serverity enum
  staging: unisys: Remove unneeded fields in diagchannel.h
  staging: unisys: Clean up diag_serverity enum

Don Zickus (9):
  staging: unisys: Move channel creation up the stack
  staging: unisys: Convert pending_msg_hdr to a pointer
  staging: unisys: Prepare vbus_hdr_info to be public
  staging: unisys: Migrate bus from devdata to visor_device
  staging: unisys: Remove unused cruft
  staging: unisys: Remove server flags
  staging: unisys: Do not use 0 as the default bus root device number
  staging: unisys: Convert bus creation to use visor_device
  staging: unisys: Convert device creation to use visor_device

Jes Sorensen (1):
  staging: unisys: Removed unused entries from struct
(Continue reading)

Jaime Arrocha | 26 May 20:14 2015
Picon

[PATCH] staging: gdm724x: Remove test for host endian

gdm_endian.c: small changes were done to remove testing for host 
endianness and in-driver conversion for byte-ordering. 
The linux/kernel.h functions are used now.

gdm_endian.h: removal of code no longer needed with changes 
in gdm_endian.c.

Signed-off-by: Jaime Arrocha <jarr <at> kerneldev.net>
---
 drivers/staging/gdm724x/gdm_endian.c |   46 +++++++++++++---------------------
 drivers/staging/gdm724x/gdm_endian.h |   11 --------
 2 files changed, 17 insertions(+), 40 deletions(-)

diff --git a/drivers/staging/gdm724x/gdm_endian.c b/drivers/staging/gdm724x/gdm_endian.c
index f6cc90a..d7144e7 100644
--- a/drivers/staging/gdm724x/gdm_endian.c
+++ b/drivers/staging/gdm724x/gdm_endian.c
 <at>  <at>  -11,57 +11,45  <at>  <at> 
  * GNU General Public License for more details.
  */

-#include <linux/slab.h>
+#include <linux/kernel.h>
 #include "gdm_endian.h"

 void gdm_set_endian(struct gdm_endian *ed, u8 dev_endian)
 {
-	u8 a[2] = {0x12, 0x34};
-	u8 b[2] = {0, };
-	u16 c = 0x1234;
(Continue reading)

Ang Integrated Service | 26 May 19:03 2015
Picon

Hello

Good Day,

Are you in need of project finance for your companies, businesses and organizations? my name is Vesselin
Angelov a German based associates for Global Investment Finance Group.

Our principal service is the provision of international project finance to companies, businesses and
organizations for significant land development projects in the leisure, tourism, entertainment and
construction industries.

Over the last two decades our associates, who are leading international project financiers in the leisure
and tourist industry, have placed over two billion US dollars ($2,000,000,000.00) of development
capital in the form of equity and loans into an extremely wide variety of projects including amusement
parks, eco and green projects, golf courses, hotels and hotel resorts, manufacturing, residential
housing, sports stadia, theme parks, tourism and tourist projects, transport, including rail, road and
shipping, water parks and many other types of project in almost 60 countries worldwide.

For more details do get back to me by email: vasse <at> foxmail.com  and note that Global Investment Finance
Group do not accept applications for less than $5,000,000.00 project contract sum.

Vesselin Angelov.
Ang Integrated Service
Frankfurt, Germany
Jaime Arrocha | 26 May 17:32 2015
Picon

[PATCH 2/2] staging: gdm724x: Remove test for host endian

Small code that is no longer needed after first part of the patch is
applied.

Signed-off-by: Jaime Arrocha <jarr <at> kerneldev.net>
---
 drivers/staging/gdm724x/gdm_endian.h |   11 -----------
 1 file changed, 11 deletions(-)

diff --git a/drivers/staging/gdm724x/gdm_endian.h b/drivers/staging/gdm724x/gdm_endian.h
index 9b2531f..6177870 100644
--- a/drivers/staging/gdm724x/gdm_endian.h
+++ b/drivers/staging/gdm724x/gdm_endian.h
 <at>  <at>  -16,16 +16,6  <at>  <at> 

 #include <linux/types.h>

-#define Endian16_Swap(value) \
-	((((u16)((value) & 0x00FF)) << 8) | \
-	 (((u16)((value) & 0xFF00)) >> 8))
-
-#define Endian32_Swap(value) \
-	((((u32)((value) & 0x000000FF)) << 24) | \
-	 (((u32)((value) & 0x0000FF00)) << 8) | \
-	 (((u32)((value) & 0x00FF0000)) >> 8) | \
-	 (((u32)((value) & 0xFF000000)) >> 24))
-
 enum {
 	ENDIANNESS_MIN = 0,
 	ENDIANNESS_UNKNOWN,
 <at>  <at>  -37,7 +27,6  <at>  <at>  enum {
(Continue reading)


Gmane