Mark Einon | 21 Aug 00:17 2014
Picon

[PATCH 0/8] Implement NAPI in et131x

Let's put a NAPI on this baby...

NAPI support was identified by Dave Miller <davem <at> davemloft.net> as a
must to get this driver out of staging. This patchset first tidies up
the code enough to make adding NAPI easier, and the final patch mostly
adds the 'boilerplate' NAPI code as described by:

http://www.linuxfoundation.org/collaborate/workgroups/networking/napi

The code has been tested on hardware, with no issues found to date.

**GregKH** - this patchset is based upon my previous bugfix 'Fix errors
caused by phydev->addr accesses' which is currently only on your
staging-linus branch, not staging-next - so won't apply cleanly in it's
current state. Please let me know if I need to do anything about this.

Cheers,

Mark

---
Mark Einon (8):
  staging: et131x: Use eth_mac_addr() instead of duplicating the
    functionality
  staging: et131x: Don't handle rx/tx packets when changing mtu
  staging: et131x: Use for loop to initialise contiguous registers to
    zero
  staging: et131x: Use for loop to initialise contiguous macstat
    registers to zero
  staging: et131x: Remove unnecessary i2c_wack variable
(Continue reading)

Purnendu Kapadia | 20 Aug 17:19 2014
Picon

[PATCH] staging: android: Add blank line after declaration

Signed-off-by: Purnendu Kapadia <pro8linux <at> gmail.com>
---
 drivers/staging/android/sync.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c
index e7b2e02..0d37495 100644
--- a/drivers/staging/android/sync.c
+++ b/drivers/staging/android/sync.c
 <at>  <at>  -705,6 +705,7  <at>  <at>  static long sync_fence_ioctl(struct file *file, unsigned int cmd,
 			     unsigned long arg)
 {
 	struct sync_fence *fence = file->private_data;
+
 	switch (cmd) {
 	case SYNC_IOC_WAIT:
 		return sync_fence_ioctl_wait(fence, arg);
--

-- 
1.9.1
Purnendu Kapadia | 20 Aug 16:13 2014
Picon

[PATCH] staging: android: fix style issue

checkpatch fix. add a line before the switch statement

Signed-off-by: Purnendu Kapadia <pro8linux <at> gmail.com>
---
 drivers/staging/android/sync.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c
index e7b2e02..0d37495 100644
--- a/drivers/staging/android/sync.c
+++ b/drivers/staging/android/sync.c
 <at>  <at>  -705,6 +705,7  <at>  <at>  static long sync_fence_ioctl(struct file *file, unsigned int cmd,
 			     unsigned long arg)
 {
 	struct sync_fence *fence = file->private_data;
+
 	switch (cmd) {
 	case SYNC_IOC_WAIT:
 		return sync_fence_ioctl_wait(fence, arg);
--

-- 
1.9.1
Picon

LOAN OFFER!!

We are offering Affordable Certified, trustworthy, reliable, efficient, fast, dynamic and a
co-operative Financial Assistant to the general public, We give our Customers loan at 3% interest rate
monthly. This noble firm has contributed to the Asian market as well, if you wish to apply with us kindly
contact us for more details via email at :{ fidelityloaninvest <at> foxmail.com}

Regards,
Mr.Abubaka Salami
Hoang Tran | 20 Aug 13:39 2014
Picon

[[PATCH v2] staging: rtl8821ae: fix sparse warning for static declarations in rtl8821ae/stats.c

This patch fixes the following sparse warnings in rtl8821ae/stats.c

drivers/staging/rtl8821ae/stats.c:62:6: warning: symbol 'rtl_translate_todbm' was not declared.
Should it be static?
drivers/staging/rtl8821ae/stats.c:101:6: warning: symbol 'rtl_process_ui_rssi' was not declared.
Should it be static?

Signed-off-by: Hoang Tran <hoangtran.gwr <at> gmail.com>
---
 drivers/staging/rtl8821ae/stats.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8821ae/stats.c b/drivers/staging/rtl8821ae/stats.c
index 4d383d1..fdbde43 100644
--- a/drivers/staging/rtl8821ae/stats.c
+++ b/drivers/staging/rtl8821ae/stats.c
 <at>  <at>  -59,7 +59,7  <at>  <at>  u8 rtl_evm_db_to_percentage(char value)
 }
 //EXPORT_SYMBOL(rtl_evm_db_to_percentage);

-long rtl_translate_todbm(struct ieee80211_hw *hw,
+static long rtl_translate_todbm(struct ieee80211_hw *hw,
 			 u8 signal_strength_index)
 {
 	long signal_power;
 <at>  <at>  -98,7 +98,8  <at>  <at>  long rtl_signal_scale_mapping(struct ieee80211_hw *hw, long currsig)
 }
 //EXPORT_SYMBOL(rtl_signal_scale_mapping);

-void rtl_process_ui_rssi(struct ieee80211_hw *hw, struct rtl_stats *pstatus)
(Continue reading)

gregkh | 20 Aug 13:15 2014

Re: [PATCH] staging:iio: moved platform_data into include/linux/iio


A: No.
Q: Should I include quotations after my reply?

http://daringfireball.net/2007/07/on_top

On Wed, Aug 20, 2014 at 12:32:52PM +0530, sanjeev sharma wrote:
> Hi,
> 
> I have only moved some header files because other header files are already
> present there and these are only pending files which is not moved outside the
> staging directory.
> 
>  <at> Greg:What is your though on this ?

Lars-Peter is correct, don't "leak" files from staging.  Take the time
to work on fixing up these drivers correctly so they can be moved out of
staging instead of just doing simple file moves which do nothing.

greg k-h
Andy Shevchenko | 20 Aug 11:42 2014
Picon

[PATCH v3 00/11] lib: introduce string_escape_mem and %*pE specifier

The introduced function is a kind of opposite to string_unescape. We have
several users of such functionality each of them created custom implementation.
The series contains clean up of test suite, adding new call, and switching few
users to use it via %*pE specifier.

Test suite covers all of existing and most of potential use cases.

Changelog v3:
- address Joe's comments (typos and styling of documentation / commit messages)
- add patch 7/11
- rebase on top of recent linux-next

Changelog v2:
- addressed Joe's comments:
 - added patch 4/10
 - moving patches 5/10-10/10 to %*pE instead of direct string_escape_mem call,
   as a result the series and code looks cleaner 
- address few of Andrew's comments:
 - added patch 1/10
 - kernel documentation moved to c-file
 - when test case fails the necessary messages are printed on KERN_WARNING
   level

Andy Shevchenko (11):
  lib / string_helpers: move documentation to c-file
  lib / string_helpers: refactoring the test suite
  lib / string_helpers: introduce string_escape_mem()
  lib/vsprintf: add %*pE[achnops] format specifier
  wireless: libertas: print esaped string via %*pE
  wireless: ipw2x00: print SSID via %*pE
(Continue reading)

Sitsofe Wheeler | 20 Aug 11:26 2014
Picon

[PANIC, hyperv] BUG: unable to handle kernel paging request at ffff880077800004 (hv_ringbuffer_write)

While booting a Hyper-V 3.17.0-rc1 guest on a 2012 R2 host a BUG was
triggered while registering hyperv_fb which in turn caused a panic.
Various kernel debugging options (CONFIG_DEBUG_PAGEALLOC,
CONFIG_SLUB_DEBUG=y...) were on at the time. This only seems to happen
if the guest is being booted with only one CPU allocated to it.

[    7.549175] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    7.567501] io scheduler noop registered
[    7.577180] io scheduler deadline registered
[    7.589324] io scheduler cfq registered (default)
[    7.614583] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    7.629146] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    7.645526] hv_vmbus: registering driver hyperv_fb
[    7.657553] BUG: unable to handle kernel paging request at ffff880077800004
[    7.658224] IP: [<ffffffff8159a7ac>] hv_ringbuffer_write+0x7c/0x150
[    7.658224] PGD 2da9067 PUD 2dac067 PMD 7fa27067 PTE 8000000077800060
[    7.658224] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
[    7.658224] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.17.0-rc1.x86_64 #3
[    7.658224] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS 090006  05/23/2012
[    7.658224] task: ffff88007c070000 ti: ffff88007c06c000 task.ti: ffff88007c06c000
[    7.658224] RIP: 0010:[<ffffffff8159a7ac>]  [<ffffffff8159a7ac>] hv_ringbuffer_write+0x7c/0x150
[    7.658224] RSP: 0000:ffff88007c06fba0  EFLAGS: 00010092
[    7.658224] RAX: ffff880077800000 RBX: 0000000000000003 RCX: 000000000003f000
[    7.658224] RDX: 0000000000000000 RSI: ffffffff825b7640 RDI: ffff88007be6c0a8
[    7.658224] RBP: ffff88007c06fbe8 R08: 0000000000000000 R09: ffffffff82619f80
[    7.658224] R10: ffff88007c070000 R11: 0000000000000f40 R12: ffff88007c06fc20
[    7.658224] R13: ffff88007be6c098 R14: ffff880077fc0000 R15: 0000000000000030
[    7.658224] FS:  0000000000000000(0000) GS:ffff88007f800000(0000) knlGS:0000000000000000
[    7.658224] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    7.658224] CR2: ffff880077800004 CR3: 0000000001c0e000 CR4: 00000000000406f0
(Continue reading)

Sanjeev Sharma | 20 Aug 11:32 2014

[PATCH] iio: remove .owner field for driver using module_platform_driver

This patch removes the .owner field for drivers which use the
platform_driver_register api because this is overriden in
_platform_driver_register.

Signed-off-by: Sanjeev Sharma <Sanjeev_Sharma <at> mentor.com>
---
 drivers/iio/accel/hid-sensor-accel-3d.c       | 1 -
 drivers/iio/adc/exynos_adc.c                  | 1 -
 drivers/iio/adc/lp8788_adc.c                  | 1 -
 drivers/iio/adc/ti_am335x_adc.c               | 1 -
 drivers/iio/adc/twl4030-madc.c                | 1 -
 drivers/iio/adc/twl6030-gpadc.c               | 1 -
 drivers/iio/adc/vf610_adc.c                   | 1 -
 drivers/iio/adc/viperboard_adc.c              | 1 -
 drivers/iio/gyro/hid-sensor-gyro-3d.c         | 1 -
 drivers/iio/humidity/dht11.c                  | 1 -
 drivers/iio/light/hid-sensor-als.c            | 1 -
 drivers/iio/light/hid-sensor-prox.c           | 1 -
 drivers/iio/light/lm3533-als.c                | 1 -
 drivers/iio/magnetometer/hid-sensor-magn-3d.c | 1 -
 drivers/iio/orientation/hid-sensor-incl-3d.c  | 1 -
 drivers/iio/orientation/hid-sensor-rotation.c | 1 -
 drivers/iio/pressure/hid-sensor-press.c       | 1 -
 drivers/iio/trigger/iio-trig-interrupt.c      | 1 -
 18 files changed, 18 deletions(-)

diff --git a/drivers/iio/accel/hid-sensor-accel-3d.c b/drivers/iio/accel/hid-sensor-accel-3d.c
index 54e464e..d5d9531 100644
--- a/drivers/iio/accel/hid-sensor-accel-3d.c
+++ b/drivers/iio/accel/hid-sensor-accel-3d.c
(Continue reading)

Hoang Tran | 20 Aug 10:53 2014
Picon

[PATCH] staging: rtl8821ae: fix sparse warning for static declarations in rtl8821ae/stats.c

This patch fixes the following sparse warnings in rtl8821ae/stats.c

drivers/staging/rtl8821ae/stats.c:62:6: warning: symbol 'rtl_translate_todbm' was not declared.
Should it be static?
drivers/staging/rtl8821ae/stats.c:101:6: warning: symbol 'rtl_process_ui_rssi' was not declared.
Should it be static?

Signed-off-by: Hoang Tran <hoangtran.gwr <at> gmail.com>
---
 drivers/staging/rtl8821ae/stats.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8821ae/stats.c b/drivers/staging/rtl8821ae/stats.c
index 4d383d1..fdbde43 100644
--- a/drivers/staging/rtl8821ae/stats.c
+++ b/drivers/staging/rtl8821ae/stats.c
 <at>  <at>  -59,7 +59,7  <at>  <at>  u8 rtl_evm_db_to_percentage(char value)
 }
 //EXPORT_SYMBOL(rtl_evm_db_to_percentage);

-long rtl_translate_todbm(struct ieee80211_hw *hw,
+static long rtl_translate_todbm(struct ieee80211_hw *hw,
 			 u8 signal_strength_index)
 {
 	long signal_power;
 <at>  <at>  -98,7 +98,8  <at>  <at>  long rtl_signal_scale_mapping(struct ieee80211_hw *hw, long currsig)
 }
 //EXPORT_SYMBOL(rtl_signal_scale_mapping);

-void rtl_process_ui_rssi(struct ieee80211_hw *hw, struct rtl_stats *pstatus)
(Continue reading)

Hoang Tran | 20 Aug 10:48 2014
Picon

[PATCH] staging: rtl8821ae: fix sparse warning for static declarations in rtl8821ae/stats.c

This patch fixes the following sparse warnings in rtl8821ae/stats.c

drivers/staging/rtl8821ae/stats.c:62:6: warning: symbol 'rtl_translate_todbm' was not declared.
Should it be static?
drivers/staging/rtl8821ae/stats.c:101:6: warning: symbol 'rtl_process_ui_rssi' was not declared.
Should it be static?

Signed-off-by: Hoang Tran <hoangtran.gwr <at> gmail.com>
---
 drivers/staging/rtl8821ae/stats.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8821ae/stats.c b/drivers/staging/rtl8821ae/stats.c
index 4d383d1..556d1ac 100644
--- a/drivers/staging/rtl8821ae/stats.c
+++ b/drivers/staging/rtl8821ae/stats.c
 <at>  <at>  -59,7 +59,7  <at>  <at>  u8 rtl_evm_db_to_percentage(char value)
 }
 //EXPORT_SYMBOL(rtl_evm_db_to_percentage);

-long rtl_translate_todbm(struct ieee80211_hw *hw,
+static long rtl_translate_todbm(struct ieee80211_hw *hw,
 			 u8 signal_strength_index)
 {
 	long signal_power;
 <at>  <at>  -98,7 +98,7  <at>  <at>  long rtl_signal_scale_mapping(struct ieee80211_hw *hw, long currsig)
 }
 //EXPORT_SYMBOL(rtl_signal_scale_mapping);

-void rtl_process_ui_rssi(struct ieee80211_hw *hw, struct rtl_stats *pstatus)
(Continue reading)


Gmane