Luis de Bethencourt | 27 Nov 17:18 2014

[PATCH v2] staging: octeon: Fix checkpatch warnings

Fixing 80 character limit warnings in octeon/ethernet-rx.c

Signed-off-by: Luis de Bethencourt <luis <at> debethencourt.com>
---
 drivers/staging/octeon/ethernet-rx.c | 51 +++++++++++++++++++++++++-----------
 1 file changed, 35 insertions(+), 16 deletions(-)

diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c
index 1789a12..e387eb1 100644
--- a/drivers/staging/octeon/ethernet-rx.c
+++ b/drivers/staging/octeon/ethernet-rx.c
 <at>  <at>  -109,6 +109,7  <at>  <at>  static inline int cvm_oct_check_rcv_error(cvmx_wqe_t *work)
 		int interface = cvmx_helper_get_interface_num(work->ipprt);
 		int index = cvmx_helper_get_interface_index_num(work->ipprt);
 		union cvmx_gmxx_rxx_frm_ctl gmxx_rxx_frm_ctl;
+
 		gmxx_rxx_frm_ctl.u64 =
 		    cvmx_read_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface));
 		if (gmxx_rxx_frm_ctl.s.pre_chk == 0) {
 <at>  <at>  -126,13 +127,15  <at>  <at>  static inline int cvm_oct_check_rcv_error(cvmx_wqe_t *work)

 			if (*ptr == 0xd5) {
 				/*
-				  printk_ratelimited("Port %d received 0xd5 preamble\n", work->ipprt);
+				  printk_ratelimited("Port %d received 0xd5 preamble\n",
+					  work->ipprt);
 				 */
 				work->packet_ptr.s.addr += i + 1;
 				work->len -= i + 5;
 			} else if ((*ptr & 0xf) == 0xd) {
(Continue reading)

Larry Finger | 27 Nov 17:10 2014
Picon

[PATCH] staging: r8188eu: Add new device ID for DLink GO-USB-N150

The DLink GO-USB-N150 with revision B1 uses this driver.

Signed-off-by: Larry Finger <Larry.Finger <at> lwfinger.net>
---
 drivers/staging/rtl8188eu/os_dep/usb_intf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
index 65a257f..d3cbcc4 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_intf.c
+++ b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
 <at>  <at>  -47,6 +47,7  <at>  <at>  static struct usb_device_id rtw_usb_id_tbl[] = {
 	{USB_DEVICE(0x07b8, 0x8179)}, /* Abocom - Abocom */
 	{USB_DEVICE(0x2001, 0x330F)}, /* DLink DWA-125 REV D1 */
 	{USB_DEVICE(0x2001, 0x3310)}, /* Dlink DWA-123 REV D1 */
+	{USB_DEVICE(0x2001, 0x3311)}, /* DLink GO-USB-N150 REV B1 */
 	{USB_DEVICE(0x0df6, 0x0076)}, /* Sitecom N150 v2 */
 	{}	/* Terminating entry */
 };
--

-- 
2.1.2
Anjana Sasindran | 27 Nov 16:30 2014
Picon

[PATCH] staging:drivers:rtl8712:drv_types.h: Added blank line after declarations

        This patch fixes the two checkpatch.pl warnings:

        WARNING:Missing a blank line after declaration

Signed-off-by: Anjana Sasindran <anjanasasindran123 <at> gmail.com>
---
 drivers/staging/rtl8712/drv_types.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8712/drv_types.h b/drivers/staging/rtl8712/drv_types.h
index 3d0a98b..3d8abfa 100644
--- a/drivers/staging/rtl8712/drv_types.h
+++ b/drivers/staging/rtl8712/drv_types.h
 <at>  <at>  -1,4 +1,4  <at>  <at> 
-/******************************************************************************
+0/******************************************************************************
  *
  * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
  *
 <at>  <at>  -129,6 +129,7  <at>  <at>  struct dvobj_priv {
 	struct _adapter *padapter;
 	u32 nr_endpoint;
 	u8   ishighspeed;
+
 	uint(*inirp_init)(struct _adapter *adapter);
 	uint(*inirp_deinit)(struct _adapter *adapter);
 	struct usb_device *pusbdev;
 <at>  <at>  -166,6 +167,7  <at>  <at>  struct _adapter {
 	 pid_t evtThread;
 	struct task_struct *xmitThread;
(Continue reading)

Anjana Sasindran | 27 Nov 15:43 2014
Picon

[PATCH] Drivers:Staging:rtl8188eu:hal:usb_halinit.c: Added blank line after declarations

    This patch fixes the five checkpatch.pl warnings:

    WARNING:Missing a blank line after declaration

Signed-off-by: Anjana Sasindran <anjanasasindran123 <at> gmail.com>
---
 drivers/staging/rtl8188eu/hal/usb_halinit.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index 14650e9..439828c 100644
--- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
+++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
 <at>  <at>  -1931,6 +1931,7  <at>  <at>  GetHalDefVar8188EUsb(
 	case HW_DEF_RA_INFO_DUMP:
 		{
 			u8 entry_id = *((u8 *)pValue);
+
 			if (check_fwstate(&Adapter->mlmepriv, _FW_LINKED)) {
 				DBG_88E("============ RA status check ===================\n");
 				DBG_88E("Mac_id:%d , RateID = %d, RAUseRate = 0x%08x, RateSGI = %d, DecisionRate = 0x%02x ,PTStage = %d\n",
 <at>  <at>  -1946,6 +1947,7  <at>  <at>  GetHalDefVar8188EUsb(
 	case HW_DEF_ODM_DBG_FLAG:
 		{
 			struct odm_dm_struct *dm_ocm = &(haldata->odmpriv);
+
 			pr_info("dm_ocm->DebugComponents = 0x%llx\n", dm_ocm->DebugComponents);
 		}
 		break;
 <at>  <at>  -1994,6 +1996,7  <at>  <at>  static u8 SetHalDefVar8188EUsb(struct adapter *Adapter, enum hal_def_variable eV
(Continue reading)

Dexuan Cui | 27 Nov 14:09 2014
Picon

[PATCH v3] hv: hv_fcopy: drop the obsolete message on transfer failure

In the case the user-space daemon crashes, hangs or is killed, we
need to down the semaphore, otherwise, after the daemon starts next
time, the obsolete data in fcopy_transaction.message or
fcopy_transaction.fcopy_msg will be used immediately.

Cc: Jason Wang <jasowang <at> redhat.com>
Cc: Vitaly Kuznetsov <vkuznets <at> redhat.com>
Cc: K. Y. Srinivasan <kys <at> microsoft.com>
Signed-off-by: Dexuan Cui <decui <at> microsoft.com>
---

v2: I removed the "FCP" prefix as Greg asked.

    I also updated the output message a little:
    "FCP: failed to acquire the semaphore" --> 
    "can not acquire the semaphore: it is benign"

v3: I added the code in fcopy_release() as Jason Wang suggested.
    I removed the pr_debug (it isn't so meaningful)and added a comment instead.

 drivers/hv/hv_fcopy.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/drivers/hv/hv_fcopy.c b/drivers/hv/hv_fcopy.c
index 23b2ce2..faa6ba6 100644
--- a/drivers/hv/hv_fcopy.c
+++ b/drivers/hv/hv_fcopy.c
 <at>  <at>  -86,6 +86,18  <at>  <at>  static void fcopy_work_func(struct work_struct *dummy)
 	 * process the pending transaction.
 	 */
(Continue reading)

Ian Abbott | 27 Nov 12:37 2014
Picon

[PATCH 0/3] staging: comedi: adl_pci9118: some dma transfer changes

For streaming acquisition on the analog input subdevice, this driver
normally uses DMA double buffering into two internal DMA buffers, so it
can switch buffers early after a DMA transfer has completed, while it
processes the completed DMA buffer.

PATCH 1 is just a bit of tidy up.

PATCH 2 avoids switching the DMA double buffer at the end of
acquisition.  For DMA single buffering, it avoids restarting the DMA
transfer if acquisition has ended normally or due to a comedi buffer
overflow error.  (However, for double buffering, the DMA transfer has
already been started on the other DMA buffer and will be stopped soon
after.)

PATCH 3 eliminates a possible defragmentation step in the DMA buffer
contents before they are transferred to the comedi buffer.  Instead, the
DMA buffer fragments are copied directly to the comedi buffer, or is
copied all in one go if the data is not fragmented.

This work is in response to Hartley's "PATCH 4/4] staging: comedi:
adl_pci9118: switch DMA buffers after writing samples", dated Mon, 10
Nov 2014 1959:17 -0500, message ID
<1415667477-28403-5-git-send-email-hsweeten <at> visionengravers.com>, which
was not applied.

These patches are against Greg's "staging-testing" branch.

1) staging: comedi: adl_pci9118: simplify interrupt_pci9118_ai_dma() a
   bit
2) staging: comedi: adl_pci9118: try and avoid unnecessary DMA restart
(Continue reading)

Dexuan Cui | 27 Nov 08:31 2014
Picon

[PATCH v2] hv: hv_fcopy: drop the obsolete message on transfer failure

In the case the user-space daemon crashes, hangs or is killed, we
need to down the semaphore, otherwise, after the daemon starts next
time, the obsolete data in fcopy_transaction.message or
fcopy_transaction.fcopy_msg will be used immediately.

Reviewed-by: Vitaly Kuznetsov <vkuznets <at> redhat.com>
Cc: K. Y. Srinivasan <kys <at> microsoft.com>
Signed-off-by: Dexuan Cui <decui <at> microsoft.com>
---

v2: I removed the "FCP" prefix as Greg asked.

    I also updated the output message a little:
    "FCP: failed to acquire the semaphore" --> 
    "can not acquire the semaphore: it is benign"

 drivers/hv/hv_fcopy.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/hv/hv_fcopy.c b/drivers/hv/hv_fcopy.c
index 23b2ce2..c518ad9 100644
--- a/drivers/hv/hv_fcopy.c
+++ b/drivers/hv/hv_fcopy.c
 <at>  <at>  -86,6 +86,15  <at>  <at>  static void fcopy_work_func(struct work_struct *dummy)
 	 * process the pending transaction.
 	 */
 	fcopy_respond_to_host(HV_E_FAIL);
+
+	/* In the case the user-space daemon crashes, hangs or is killed, we
+	 * need to down the semaphore, otherwise, after the daemon starts next
(Continue reading)

micky_ching | 27 Nov 03:53 2014
Picon

[PATCH 0/2] mmc: rtsx: add support for sdio card

From: Micky Ching <micky_ching <at> realsil.com.cn>

This patch is used to change transfer mode for sdio card support
by SD interface.

Micky Ching (2):
  mfd: rtsx: add func to split u32 into register
  mmc: rtsx: add support for sdio card

 drivers/mmc/host/rtsx_pci_sdmmc.c | 366 ++++++++++++++++++++++----------------
 include/linux/mfd/rtsx_pci.h      |  15 ++
 2 files changed, 224 insertions(+), 157 deletions(-)

--

-- 
1.9.1
George McCollister | 26 Nov 22:45 2014
Picon

[PATCH 1/2] iio: Add support for waveform output

Output can be held high or low for a specified period of time.
Support for waveform capture could be added in the future.

Signed-off-by: George McCollister <george.mccollister <at> gmail.com>
---
 Documentation/ABI/testing/sysfs-bus-iio               | 7 +++++++
 drivers/iio/industrialio-core.c                       | 3 +++
 drivers/staging/iio/Documentation/iio_event_monitor.c | 2 ++
 include/linux/iio/types.h                             | 5 ++++-
 4 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index d760b02..47df169 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
 <at>  <at>  -1028,3 +1028,10  <at>  <at>  Contact:	linux-iio <at> vger.kernel.org
 Description:
 		Raw value of rotation from true/magnetic north measured with
 		or without compensation from tilt sensors.
+
+What:		/sys/bus/iio/devices/iio:deviceX/out_waveformY_hightime_raw
+What:		/sys/bus/iio/devices/iio:deviceX/out_waveformY_lowtime_raw
+KernelVersion:	3.18
+Contact:	linux-iio <at> vger.kernel.org
+Description:
+		Raw value of time for output to be held high or low.
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c
index af3e76d..343e784 100644
--- a/drivers/iio/industrialio-core.c
+++ b/drivers/iio/industrialio-core.c
(Continue reading)

Administrador Centro | 26 Nov 20:01 2014
Picon

atualização sua conta


Uma tentativa foi feita para sua conta a partir de um computador desconhecido. para 
a segurança da sua conta, estamos prontos para abrir uma consulta ou atualização 
sua conta. Por favor, preencha os dados abaixo: 

nome: 
Endereço de email: 
password: 
Re-digite a senha: 
Tel: 

Te agradece 
sistema Administrador Centro 
_______________________________________________
devel mailing list
devel <at> linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
Loic Pefferkorn | 26 Nov 17:15 2014
Picon

[PATCH] staging: lustre: fix sparse warnings related to lock context imbalance

Add __acquires() and __releases() function annotations, to fix sparse warnings related to lock context imbalance.

This fixes the following warnings:

drivers/staging/lustre/lustre/libcfs/linux/linux-tracefile.c:153:5: warning: context
imbalance in 'cfs_trace_lock_tcd' - wrong count at exit
drivers/staging/lustre/lustre/libcfs/hash.c:128:1: warning: context imbalance in
'cfs_hash_spin_lock' - wrong count at exit
drivers/staging/lustre/lustre/libcfs/hash.c:142:9: warning: context imbalance in
'cfs_hash_rw_lock' - wrong count at exit
drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/l_lock.c:57:17: warning: context
imbalance in 'lock_res_and_lock' - wrong count at exit
drivers/staging/lustre/lustre/libcfs/libcfs_lock.c:93:1: warning: context imbalance in
'cfs_percpt_lock' - wrong count at exit

Signed-off-by: Loic Pefferkorn <loic <at> loicp.eu>
---
 drivers/staging/lustre/lustre/libcfs/hash.c                  | 4 ++++
 drivers/staging/lustre/lustre/libcfs/libcfs_lock.c           | 2 ++
 drivers/staging/lustre/lustre/libcfs/linux/linux-tracefile.c | 2 ++
 drivers/staging/lustre/lustre/obdclass/cl_object.c           | 2 ++
 4 files changed, 10 insertions(+)

diff --git a/drivers/staging/lustre/lustre/libcfs/hash.c b/drivers/staging/lustre/lustre/libcfs/hash.c
index 32da783..7c6e2a3 100644
--- a/drivers/staging/lustre/lustre/libcfs/hash.c
+++ b/drivers/staging/lustre/lustre/libcfs/hash.c
 <at>  <at>  -126,18 +126,21  <at>  <at>  cfs_hash_nl_unlock(union cfs_hash_lock *lock, int exclusive) {}

 static inline void
(Continue reading)


Gmane