Re: [PATCH 1/7] input: alps: Set correct name of psmouse device in alps_init()

2014-12-20 Thread Pali Rohár
On Tuesday 16 December 2014 12:58:20 Pali Rohár wrote: > On Tuesday 16 December 2014 06:02:34 Dmitry Torokhov wrote: > > Hi Pali, > > > > On Fri, Nov 14, 2014 at 08:38:20PM +0100, Pali Rohár wrote: > > > On some laptops after starting them from off state (not > > > after reboot), function alps_pro

[PATCH] Staging: rtl8188eu : rtw_ap.c : Fixed a space coding style issue.

2014-12-20 Thread Gangadhar
From: gangadharv Fixed a Coding style issue. Signed-off-by: Gangadhar V --- drivers/staging/rtl8188eu/core/rtw_ap.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers/staging/rtl8188eu/core/rtw_ap.c index d61842e..da19145 1

Re: [PATCH v2 1/2] i8k: Autodetect maximal fan speed and fan RPM multiplier

2014-12-20 Thread Pali Rohár
On Friday 19 December 2014 20:28:08 Guenter Roeck wrote: > On Fri, Dec 19, 2014 at 07:51:25PM +0100, Pali Rohár wrote: > > On Friday 19 December 2014 19:32:37 Guenter Roeck wrote: > > > > -static int i8k_fan_mult; > > > > -static int i8k_pwm_mult; > > > > -static int i8k_fan_max = I8K_FAN_HIGH; > >

Re: [PATCHv4] INPUT: Route keyboard LEDs through the generic LEDs layer.

2014-12-20 Thread Samuel Thibault
Dmitry Torokhov, le Fri 19 Dec 2014 23:27:15 -0800, a écrit : > Yes, I believe it is. Good :) > Also, can you please split off input core changes from tty changes in > your patch? Yes. I this new formulation they become really completely separate matters. Samuel -- To unsubscribe from this lis

Re: [PATCH] Staging: rtl8188eu : rtw_ap.c : Fixed a space coding style issue.

2014-12-20 Thread Jeremiah Mahler
Gangadhar, On Sat, Dec 20, 2014 at 02:25:08PM +0530, Gangadhar wrote: > From: gangadharv > > Fixed a Coding style issue. > > Signed-off-by: Gangadhar V Your Signed-off-by doesn't much your From line. Also, is this the full name you would use to sign off with on legal documents? > --- > driv

Re: [PATCH 0/3] dell-wmi: Don't send unneeded keypresses

2014-12-20 Thread Pali Rohár
On Wednesday 03 December 2014 19:03:37 Darren Hart wrote: > On Fri, Dec 05, 2014 at 10:07:35PM +0100, Pali Rohár wrote: > > On Friday 05 December 2014 21:41:22 Pavel Machek wrote: > > > On Fri 2014-12-05 21:31:34, Pali Rohár wrote: > > > > On Wednesday 03 December 2014 14:34:32 Darren Hart wrote: >

[PATCH v2 0/2] usb: serial: handle -ENODEV and -EPROTO quietly

2014-12-20 Thread Jeremiah Mahler
NOTE: These patches can wait until after the merge window. I just wanted this slightly improved version to be available when the window does close. If a USB serial device (e.g. /dev/ttyUSB0) with an active program is unplugged, a bunch of -ENODEV and -EPROTO errors will be produced in the logs.

[PATCH v2 1/2] usb: serial: handle -EPROTO quietly in generic_read_bulk

2014-12-20 Thread Jeremiah Mahler
If a USB serial device driver, which is built using the generic serial driver, is unplugged while there is an active program using the device, it will spam the logs with -EPROTO (71) messages as it attempts to retry. Most serial usb drivers (metro-usb, pl2303, mos7840, ...) only output these messa

[PATCH v2 2/2] usb: serial: handle -ENODEV quietly in generic_submit_read_urb

2014-12-20 Thread Jeremiah Mahler
If a USB serial device (e.g. /dev/ttyUSB0) with an active program is unplugged, an -ENODEV (19) error will be produced after it gives up trying to resubmit a read. usb_serial_generic_submit_read_urb - usb_submit_urb failed: -19 Add -ENODEV as one of the permanent errors along with -EPERM that u

Re: [PATCH] Staging: rtl8188eu : rtw_ap.c : Fixed a space coding style issue.

2014-12-20 Thread Jeremiah Mahler
Gangadhar, On Sat, Dec 20, 2014 at 02:25:08PM +0530, Gangadhar wrote: > From: gangadharv > > Fixed a Coding style issue. The description needs to be more specific? What type of issue did you fix? How did you find this issue? [...] -- - Jeremiah Mahler -- To unsubscribe from this list: send

Re: [PATCH 1/2] mm, vmscan: prevent kswapd livelock due to pfmemalloc-throttled process being killed

2014-12-20 Thread Vladimir Davydov
On Sat, Dec 20, 2014 at 12:05:58AM +0100, Vlastimil Babka wrote: > On 19.12.2014 19:28, Vladimir Davydov wrote: > >So AFAIU the problem does exist. However, I think it could be fixed by > >simply waking up all processes waiting on pfmemalloc_wait before putting > >kswapd to sleep: > > Hm I don't s

Re: [PATCH] Staging: rtl8188eu : rtw_ap.c : Fixed a space coding style issue.

2014-12-20 Thread Gangadhar V
Hi, It is Space coding Style issue which i found when running checkpatch.pl script on rtw_ap.c. --Gangadhar V On Sat, Dec 20, 2014 at 2:44 PM, Jeremiah Mahler wrote: > Gangadhar, > > On Sat, Dec 20, 2014 at 02:25:08PM +0530, Gangadhar wrote: >> From: gangadharv >> >> Fixed a Coding style issue.

Re: [PATCH] mfd: cottula: add cottula board

2014-12-20 Thread Robert Jarzmik
Robert Jarzmik writes: > Arnd Bergmann writes: > >> On Monday 15 December 2014 00:10:06 Robert Jarzmik wrote: >>> + >>> + platform_set_drvdata(pdev, cot); >>> + cot->gpio0 = gpiod_get(&pdev->dev, "lubbock_irq", 0); >>> + if (IS_ERR(cot->gpio0)) { >>> + dev_err(&pd

Re: [PATCH] Staging: rtl8188eu : rtw_ap.c : Fixed a space coding style issue.

2014-12-20 Thread Jeremiah Mahler
Gangadhar, On Sat, Dec 20, 2014 at 03:13:10PM +0530, Gangadhar V wrote: > Hi, > It is Space coding Style issue which i found when running > checkpatch.pl script on rtw_ap.c. > > --Gangadhar V > On Sat, Dec 20, 2014 at 2:44 PM, Jeremiah Mahler wrote: > > Gangadhar, > > > > On Sat, Dec 20, 2014 at

[PATCH] Staging: rtl8188eu : rtw_ap.c : Fixed a space coding style issue.

2014-12-20 Thread Gangadhar V
Fixed a Space Coding style issue which was found when running checkpatch.pl script on rtw_ap.c. Signed-off-by: Gangadhar V --- drivers/staging/rtl8188eu/core/rtw_ap.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers/stagi

Re: [PATCH] Staging: rtl8188eu : rtw_ap.c : Fixed a space coding style issue.

2014-12-20 Thread Jeremiah Mahler
Gangadhar, It is looking better but it still needs some work :) Be sure to add a version number to your subject line when you release a new version of your patch so reviewers know it is not an entirely new patch. [PATCH v2] 'git format-patch' will do this automatically with the '-v' option if

Re: [PATCH 1/2] mm, vmscan: prevent kswapd livelock due to pfmemalloc-throttled process being killed

2014-12-20 Thread Michal Hocko
On Fri 19-12-14 21:28:15, Vladimir Davydov wrote: > Hi, > > On Fri, Dec 19, 2014 at 04:57:47PM +0100, Michal Hocko wrote: > > On Fri 19-12-14 14:01:55, Vlastimil Babka wrote: > > > Charles Shirron and Paul Cassella from Cray Inc have reported kswapd stuck > > > in a busy loop with nothing left to

[PATCH 07/15] media: blackfin: bfin_capture: use v4l2_fh_open and vb2_fop_release

2014-12-20 Thread Lad, Prabhakar
this patch adds support to use v4l2_fh_open() and vb2_fop_release, which allows to drop driver specific struct bcap_fh, as this is handled by core. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 79 +- 1 file changed, 2 insertions(+), 7

[PATCH 02/15] media: blackfin: bfin_capture: release buffers in case start_streaming() call back fails

2014-12-20 Thread Lad, Prabhakar
this patch adds support to release the buffer by calling vb2_buffer_done(), with state marked as VB2_BUF_STATE_QUEUED if start_streaming() call back fails. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 16 +--- 1 file changed, 13 insertions(+), 3

[PATCH 09/15] media: blackfin: bfin_capture: make sure all buffers are returned on stop_streaming() callback

2014-12-20 Thread Lad, Prabhakar
In start_streaming() callback the buffer is removed from the dma_queue list and assigned to cur_frm, this patch makes sure that is returned to vb2 core with VB2_BUF_STATE_ERROR flag. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 3 +++ 1 file changed, 3 inser

[PATCH 11/15] media: blackfin: bfin_capture: return -ENODATA for *dv_timings calls

2014-12-20 Thread Lad, Prabhakar
this patch adds support to return -ENODATA for *dv_timings calls if the current output does not support it. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/media/platform/blackfin/

[PATCH 04/15] media: blackfin: bfin_capture: improve buf_prepare() callback

2014-12-20 Thread Lad, Prabhakar
this patch improves the buf_prepare() callback. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blackfin/bfin

[PATCH 13/15] media: blackfin: bfin_capture: add support for VB2_DMABUF

2014-12-20 Thread Lad, Prabhakar
this patch adds support for VB2_DMABUF. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blackfin/bfin_capture.c index 3887

[PATCH 03/15] media: blackfin: bfin_capture: set min_buffers_needed

2014-12-20 Thread Lad, Prabhakar
this patch sets the min_buffers_needed field of the vb2 queue so that the vb2 core will make sure start_streaming() callback is called only when we have minimum buffers queued. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 1 + 1 file changed, 1 insertion(+)

[PATCH 05/15] media: blackfin: bfin_capture: improve queue_setup() callback

2014-12-20 Thread Lad, Prabhakar
this patch improves the queue_setup() callback. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blackfin/bfin_c

[PATCH 15/15] media: blackfin: bfin_capture: set v4l2 buffer sequence

2014-12-20 Thread Lad, Prabhakar
this patch adds support to set the v4l2 buffer sequence. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blackfin/bfin_capture.c inde

[PATCH 12/15] media: blackfin: bfin_capture: add support for vidioc_create_bufs

2014-12-20 Thread Lad, Prabhakar
this patch adds support for vidioc_create_bufs. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blackfin/bfin_capture.c index f663687..388

[PATCH 00/15] media: blackfin: bfin_capture enhancements

2014-12-20 Thread Lad, Prabhakar
Hi Scott, Although I was on holiday but couldn't resist myself from working, since I was away from my hardware I had to choose a different one, blackfin driver was lucky one. Since I don't have the blackfin board I haven't tested them on the actual board, but just compile tested, Can you please te

[PATCH 10/15] media: blackfin: bfin_capture: return -ENODATA for *std calls

2014-12-20 Thread Lad, Prabhakar
this patch adds supports to return -ENODATA to *_std calls if the selected output does not support it. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/media/platform/blackfin/bfin_captur

[PATCH 14/15] media: blackfin: bfin_capture: add support for VIDIOC_EXPBUF

2014-12-20 Thread Lad, Prabhakar
this patch adds support for VIDIOC_EXPBUF. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blackfin/bfin_capture.c index 858e333..ff89bae

[PATCH 08/15] media: blackfin: bfin_capture: use vb2_ioctl_* helpers

2014-12-20 Thread Lad, Prabhakar
this patch adds support to vb2_ioctl_* helpers. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 107 + 1 file changed, 22 insertions(+), 85 deletions(-) diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platfo

[PATCH 01/15] media: blackfin: bfin_capture: drop buf_init() callback

2014-12-20 Thread Lad, Prabhakar
this patch drops the buf_init() callback as init of buf list is not required. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blac

[PATCH 06/15] media: blackfin: bfin_capture: use vb2_fop_mmap/poll

2014-12-20 Thread Lad, Prabhakar
No need to reinvent the wheel. Just use the already existing functions provided by vb2. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/blackfin/bfin_capture.c | 28 +++--- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/drivers/media/platform/blackfin

Re: [PATCH v2 1/2] i8k: Autodetect maximal fan speed and fan RPM multiplier

2014-12-20 Thread Guenter Roeck
On 12/20/2014 12:57 AM, Pali Rohár wrote: On Friday 19 December 2014 20:28:08 Guenter Roeck wrote: On Fri, Dec 19, 2014 at 07:51:25PM +0100, Pali Rohár wrote: On Friday 19 December 2014 19:32:37 Guenter Roeck wrote: -static int i8k_fan_mult; -static int i8k_pwm_mult; -static int i8k_fan_max =

[PATCH] staging: rtl8712: rtl871x_mp_ioctl.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: oid_rt_pro_h2c_get_rate_table_hdl() oid_rt_pro_h2c_set_rate_table_hdl() oid_rt_pro_set_pwrstate_hdl() oid_rt_pro_qry_pwrstate_hdl() oid_rt_pro_set_basic_rate_hdl() oid_rt_pro_set_power_tracking_hdl() oid_rt_pro_set_data_rate_ex_hdl() oid_rt_pro_cfg

Re: [PATCH v2 1/2] i8k: Autodetect maximal fan speed and fan RPM multiplier

2014-12-20 Thread Pali Rohár
On Saturday 20 December 2014 13:04:03 Guenter Roeck wrote: > On 12/20/2014 12:57 AM, Pali Rohár wrote: > > On Friday 19 December 2014 20:28:08 Guenter Roeck wrote: > >> On Fri, Dec 19, 2014 at 07:51:25PM +0100, Pali Rohár wrote: > >>> On Friday 19 December 2014 19:32:37 Guenter Roeck wrote: > >

[PATCH] staging: rtl8188eu: core: rtw_mlme_ext.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function NULL_hdl() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c|5 - drivers/staging/rtl8188eu/include/rtw_mlme_ext.h |

[PATCH] s390: cio: idset.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: idset_clear() idset_sch_get_first() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/s390/cio/idset.c | 20 drivers/s390/cio/idset.h |2

[PATCH] net: wireless: ipw2x00: ipw2200.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function ipw_alive() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/net/wireless/ipw2x00/ipw2200.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/driver

[PATCH] security: selinux: avc.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function avc_sidcmp() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- security/selinux/avc.c |5 - 1 file changed, 5 deletions(-) diff --git a/security/selinux/avc.c b/securi

[PATCH] arch: sparc: kernel: traps_64.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: do_fpdis_tl1() do_iae_tl1() do_dae_tl1() do_cee_tl1() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/sparc/kernel/entry.h|4 arch/sparc/kernel/traps_64

[PATCH] net: ceph: ceph_strings.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function ceph_pool_op_name() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- include/linux/ceph/ceph_fs.h |2 -- net/ceph/ceph_strings.c | 14 -- 2 files change

Re: [PATCH v2 1/2] usb: serial: handle -EPROTO quietly in generic_read_bulk

2014-12-20 Thread Sergei Shtylyov
Hello. On 12/20/2014 12:11 PM, Jeremiah Mahler wrote: If a USB serial device driver, which is built using the generic serial driver, is unplugged while there is an active program using the device, Driver is unplugged? :-) it will spam the logs with -EPROTO (71) messages as it attempts to

[PATCH] arch: arm: plat-samsung: setup-camif.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: s3c_camif_gpio_put() s3c_camif_gpio_get() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/arm/plat-samsung/setup-camif.c | 41 ---

[PATCH] arch: sparc: kernel: starfire.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function starfire_hard_smp_processor_id() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/sparc/include/asm/starfire.h |1 - arch/sparc/kernel/starfire.c |5 - 2

[PATCH] tools: lib: traceevent: event-parse.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: pevent_get_any_field_val() pevent_get_common_field_val() pevent_event_fields() pevent_event_common_fields() pevent_list_events() pevent_print_event() pevent_data_event_from_type() pevent_register_trace_clock() pevent_pid_is_registered() This wa

Re: [PATCH V5 13/23] MIPS: BMIPS: Flush the readahead cache after DMA

2014-12-20 Thread Jonas Gorski
On Sat, Dec 20, 2014 at 2:39 AM, Kevin Cernekee wrote: > On Mon, Dec 15, 2014 at 1:43 AM, Jonas Gorski wrote: >> On Fri, Dec 12, 2014 at 11:07 PM, Kevin Cernekee wrote: >>> BMIPS 3300/435x/438x CPUs have a readahead cache that is separate from >>> the L1/L2. During a DMA operation, accesses adj

[PATCH] net: wireless: rtlwifi: rtl8192ee: trx.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function rtl92ee_get_available_desc() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/net/wireless/rtlwifi/rtl8192ee/trx.c | 21 - drivers/net/wireless/r

Re: [PATCH v2 1/2] i8k: Autodetect maximal fan speed and fan RPM multiplier

2014-12-20 Thread Guenter Roeck
On 12/20/2014 04:18 AM, Pali Rohár wrote: On Saturday 20 December 2014 13:04:03 Guenter Roeck wrote: On 12/20/2014 12:57 AM, Pali Rohár wrote: On Friday 19 December 2014 20:28:08 Guenter Roeck wrote: On Fri, Dec 19, 2014 at 07:51:25PM +0100, Pali Rohár wrote: On Friday 19 December 2014 19:32:

[PATCH] staging: rtl8192e: rtl8192e: rtl_pm.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: rtl8192E_save_state() rtl8192E_enable_wake() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192e/rtl8192e/rtl_pm.c | 14 -- drivers/sta

[PATCH] tools: perf: util: color.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: color_parse_mem() color_parse() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- tools/perf/util/color.c | 90 --- tools/perf

Re: [PATCH 2/2] misc: add a driver to power on/off UART attached devices.

2014-12-20 Thread One Thousand Gnomes
On Sat, 20 Dec 2014 11:09:21 +1100 NeilBrown wrote: > If a platform has a particular device permanently attached to a UART, > there may be out-of-band signaling necessary to power the device > on and off. > > This drive controls that signalling for a number of different devices. > It can > - en

Re: [PATCH v2 1/2] i8k: Autodetect maximal fan speed and fan RPM multiplier

2014-12-20 Thread Pali Rohár
On Saturday 20 December 2014 13:44:59 Guenter Roeck wrote: > On 12/20/2014 04:18 AM, Pali Rohár wrote: > > On Saturday 20 December 2014 13:04:03 Guenter Roeck wrote: > >> On 12/20/2014 12:57 AM, Pali Rohár wrote: > >>> On Friday 19 December 2014 20:28:08 Guenter Roeck wrote: > On Fri, Dec 19,

Re: [PATCH v2 1/2] usb: serial: handle -EPROTO quietly in generic_read_bulk

2014-12-20 Thread Jeremiah Mahler
Sergei, On Sat, Dec 20, 2014 at 03:32:42PM +0300, Sergei Shtylyov wrote: > Hello. > > On 12/20/2014 12:11 PM, Jeremiah Mahler wrote: > > >If a USB serial device driver, which is built using the generic serial > >driver, is unplugged while there is an active program using the device, > >Driv

[PATCH] net: wireless: brcm80211: brcmsmac: phy: phy_cmn.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: wlc_phy_edcrs_lock() wlc_phy_txpower_ipa_ison() wlc_phy_upd_rssi_offset() wlc_phy_get_pwrdet_offsets() wlc_lcnphy_epa_switch() wlc_phy_stf_ssmode_get() wlc_phy_stf_chain_get() write_phy_channel_reg() wlc_phy_BSSinit() wlc_phy_set_deaf() wlc_phy_fre

Re: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI

2014-12-20 Thread Paolo Bonzini
On 20/12/2014 00:48, Wu, Feng wrote: > In my understanding, lowest priority interrupts are always delivered to a > Single CPU, we need to find the right destination CPU from the cpumask. Yes, but which CPU however differs every time the interrupt is delivered. So the emulation here is a bit poo

[PATCH] proc: task_mmu: show page size in /proc//numa_maps

2014-12-20 Thread Rafael Aquini
This patch introduces 'pagesize' line element to /proc//numa_maps report file in order to help disambiguating the size of pages that are backing memory areas mapped by a task. When the VMA backing page size is observed different from kernel's default PAGE_SIZE, the new element is printed out to co

[GIT PULL] CONFIG_PM_RUNTIME elimination for 3.19-rc1

2014-12-20 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-config-3.19-rc1 to receive material that finalizes the CONFIG_PM_RUNTIME elimination for v3.19-rc1 with top-most commit 464ed18ebdb6236fcff59d2a35d4d2e28 PM: Eliminate CONFIG_PM_RUNTIME on top

Re: [PATCH] treewide: Convert clockevents_notify to use int cpu

2014-12-20 Thread Rafael J. Wysocki
On Wednesday, December 10, 2014 03:28:53 PM Joe Perches wrote: > As far as I can tell, there's no value indirecting > the cpu passed to this function via a void *. > > Update all the callers and called functions from within > clockevents_notify. > > Miscellanea: > > Add pr_fmt and convert one pr

Re: [PATCH 1/2] mm, vmscan: prevent kswapd livelock due to pfmemalloc-throttled process being killed

2014-12-20 Thread Vladimir Davydov
On Sat, Dec 20, 2014 at 11:47:46AM +0100, Michal Hocko wrote: > On Fri 19-12-14 21:28:15, Vladimir Davydov wrote: > > So AFAIU the problem does exist. However, I think it could be fixed by > > simply waking up all processes waiting on pfmemalloc_wait before putting > > kswapd to sleep: > > I think

[PATCH] lib: flex_proportions.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: prop_fraction_single() prop_local_destroy_single() prop_local_init_single() fprop_global_destroy() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- include/linux/flex_pro

Re: [PATCH v2 0/6] net-PPP: Deletion of a few unnecessary checks

2014-12-20 Thread SF Markus Elfring
> I'm saying to leave the code alone. Do I need to try another interpretation out for your feedback? > If it goes: > > var = foo_that_returns_ptr_err() > if (IS_ERR(var)) > return PTR_ERR(var); > > p->bar = var; > > or whatever, simply keep it that way! Do you

[PATCH v3] Staging:rtl8188eu:Fixed a space coding style issue.

2014-12-20 Thread Gangadhar Vukkesala
Fixed a Space Coding style issue which was found when running checkpatch.pl script on rtw_ap.c. Signed-off-by: Gangadhar Vukkesala --- drivers/staging/rtl8188eu/core/rtw_ap.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers

[PATCH] lib: proportions.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: prop_change_shift() prop_descriptor_init() prop_fraction_percpu() prop_fraction_single() __prop_inc_percpu_max() prop_local_destroy_percpu() prop_local_destroy_single() prop_local_init_percpu() prop_local_init_single() This was partially found b

[PATCH] staging: iio: accel: sca3000_core.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function sca3000_check_status() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/staging/iio/accel/sca3000_core.c | 27 --- 1 file changed, 27 deletio

[PATCH] gpu: drm: radeon: radeon_atombios.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function radeon_atom_update_memory_dll() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/gpu/drm/radeon/radeon.h |2 -- drivers/gpu/drm/radeon/radeon_atombios.c |

[PATCH] staging: rtl8712: recv_linux.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function r8712_os_read_port() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8712/recv_linux.c | 14 -- drivers/staging/rtl8712/recv_osdep.h |1 -

[PATCH] arch: powerpc: platforms: ps3: repository.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function ps3_repository_write_highmem_info() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/powerpc/platforms/ps3/platform.h |2 -- arch/powerpc/platforms/ps3/repository.

Re: [PATCH 0/3] dell-wmi: Don't send unneeded keypresses

2014-12-20 Thread Pavel Machek
Hi! > > > Ok, I agree that it is subjective how serious it is... > > > Just to remind that patch fixing problem described in > > > > > > http://www.spinics.net/lists/platform-driver-x86/msg05922.ht > > > ml > > > http://www.spinics.net/lists/platform-driver-x86/msg05924.h > > > tml > > > > I don

Re: [PATCH v3] Staging:rtl8188eu:Fixed a space coding style issue.

2014-12-20 Thread Jeremiah Mahler
Gangadhar, It is looking much better. Just a few more nit picks though :) In the subject line, tags usually have ':' next to the tag with a space between. Also, I usually keep them lowercase. staging: rtl8188eu: (then your description) On Sat, Dec 20, 2014 at 08:17:02PM +0530, Gangadhar Vuk

Re: [PATCH v2 0/6] net-PPP: Deletion of a few unnecessary checks

2014-12-20 Thread Lino Sanfilippo
Hi Markus, On 20.12.2014 15:45, SF Markus Elfring wrote: >> I'm saying to leave the code alone. > > Do I need to try another interpretation out for your feedback? > > >> If it goes: >> >> var = foo_that_returns_ptr_err() >> if (IS_ERR(var)) >> return PTR_ERR(var); >> >>

Re: bluetooth: Add hci_h4p driver

2014-12-20 Thread Pavel Machek
Hi! > > I have trouble understanding... h4p_hci_open() seems to be called as > > soon as I insmod the driver. Who does that? Is it some kind of udev > > magic? > > As soon as you do hci_register_dev, it will bring up the device and run the > basic initialization. That is needed to get the addres

Re: [PATCH v2 4/7] imx-drm: ipuv3-crtc: Implement mode_fixup

2014-12-20 Thread Russell King - ARM Linux
On Thu, Dec 18, 2014 at 06:00:23PM -0800, Steve Longerbeam wrote: > Ask the IPU display interface, via ipu_di_adjust_videomode(), to > adjust a video mode to meet any DI restrictions. The function takes > a subsystem independent videomode, so the drm_display_mode must be > converted to videomode fi

[PATCH v4] staging: rtl8188eu: Fixed a space coding style issue.

2014-12-20 Thread Gangadhar Vukkesala
Fixed a space coding style issue which was found when running checkpatch.pl script on rtw_ap.c. Signed-off-by: Gangadhar Vukkesala --- drivers/staging/rtl8188eu/core/rtw_ap.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers

Re: [Gta04-owner] [PATCH 2/2] misc: add a driver to power on/off UART attached devices.

2014-12-20 Thread Christ van Willegen
Hi, One remark: +config SERIAL_POWER_MANAGER + tristate "Power Management controller for serial-attached devices" + depends on TTY && OF + default n + help + Some devices permanently attached via a UART can benefit from + being power-managed when the tty de

[PATCH] arch: x86: um: tls_32.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function needs_TLS_update() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/x86/um/tls_32.c | 25 - 1 file changed, 25 deletions(-) diff --git a/arch/x

[PATCH] misc: cxl: sysfs.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function mmio_size_show() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/misc/cxl/sysfs.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/misc/cxl/s

[PATCH] gpu: drm: ast: ast_ttm.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function ast_bo_unpin() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/gpu/drm/ast/ast_drv.h |1 - drivers/gpu/drm/ast/ast_ttm.c | 20 2 files chan

[PATCH] infiniband: hw: ipath: ipath_wc_ppc64.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function ipath_unordered_wc() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/infiniband/hw/ipath/ipath_kernel.h|3 --- drivers/infiniband/hw/ipath/ipath_wc_ppc64.c |

Re: [PATCH 0/3] dell-wmi: Don't send unneeded keypresses

2014-12-20 Thread Darren Hart
On Sat, Dec 20, 2014 at 04:11:08PM +0100, Pavel Machek wrote: > Hi! > > > > > Ok, I agree that it is subjective how serious it is... > > > > Just to remind that patch fixing problem described in > > > > > > > > http://www.spinics.net/lists/platform-driver-x86/msg05922.ht > > > > ml > > > > http:/

Re: [PATCH v2 0/6] net-PPP: Deletion of a few unnecessary checks

2014-12-20 Thread SF Markus Elfring
> I think what David said was pretty clear: If you see code like the above > there is no need to refactor it. I can understand this view in principle. > That does not mean that this is the _preferred_ way of error handling. Can your feedback help in the clarification of suggestions around my up

[PATCH v2b 1/2] usb: serial: handle -EPROTO quietly in generic_read_bulk

2014-12-20 Thread Jeremiah Mahler
If a USB serial device is unplugged while there is an active program using the device it will spam the logs with -EPROTO (71) messages as it attempts to retry. Most serial usb drivers (metro-usb, pl2303, mos7840, ...) only output these messages for debugging. The generic driver treats these as er

[PATCH] staging: rtl8188eu: core: rtw_wlan_util.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: CAM_empty_entry() get_bsstype() rtw_get_oper_choffset() rtw_get_oper_bw() is_ap_in_wep() should_forbid_n_rate() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/st

Re: [PATCH v4] staging: rtl8188eu: Fixed a space coding style issue.

2014-12-20 Thread Jeremiah Mahler
On Sat, Dec 20, 2014 at 09:29:47PM +0530, Gangadhar Vukkesala wrote: > Fixed a space coding style issue which was found when running checkpatch.pl > script on rtw_ap.c. > > Signed-off-by: Gangadhar Vukkesala > --- > drivers/staging/rtl8188eu/core/rtw_ap.c |2 +- > 1 file changed, 1 insertion

Re: [PATCH 0/3] dell-wmi: Don't send unneeded keypresses

2014-12-20 Thread Henrique de Moraes Holschuh
On Sat, 20 Dec 2014, Pavel Machek wrote: > > > > Ok, I agree that it is subjective how serious it is... > > > > Just to remind that patch fixing problem described in > > > > > > > > http://www.spinics.net/lists/platform-driver-x86/msg05922.ht > > > > ml > > > > http://www.spinics.net/lists/platfor

[PATCH] net: wireless: rtlwifi: btcoexist: halbtc8821a1ant.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: ex_halbtc8821a1ant_periodical() ex_halbtc8821a1ant_pnp_notify() ex_halbtc8821a1ant_halt_notify() ex_halbtc8821a1ant_bt_info_notify() ex_halbtc8821a1ant_special_packet_notify() ex_halbtc8821a1ant_connect_notify() ex_halbtc8821a1ant_scan_notify() ex_

[PATCH] scsi: arm: cumana_1.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function cumanascsi_setup() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/scsi/arm/cumana_1.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/scsi/arm/cuma

[PATCH] tools: lib: traceevent: kbuffer-parse.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: kbuffer_set_old_format() kbuffer_missed_events() kbuffer_curr_size() kbuffer_event_size() kbuffer_curr_offset() kbuffer_curr_index() kbuffer_subbuffer_size() kbuffer_read_at_offset() kbuffer_timestamp() kbuffer_read_event() kbuffer_translate_data()

[GIT PULL] Final round of SCSI updates for the 3.18+ merge window

2014-12-20 Thread James Bottomley
This is a much shorter set of patches that were on the go but didn't make it in to the early pull request for the merge window. It's really a set of bug fixes plus some final cleanup work on the new tag queue API. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/sc

Re: [PATCH] proc: task_mmu: show page size in /proc//numa_maps

2014-12-20 Thread Dave Hansen
On 12/20/2014 05:54 AM, Rafael Aquini wrote: > This patch introduces 'pagesize' line element to /proc//numa_maps > report file in order to help disambiguating the size of pages that are > backing memory areas mapped by a task. When the VMA backing page size > is observed different from kernel's def

[PATCH] staging: rtl8723au: hal: odm.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: odm_1R_CCA23a() odm_TXPowerTrackingCheckAP() odm_TXPowerTrackingCheckMP() odm_RSSIMonitorCheck23aAP() odm_RSSIMonitorCheck23aMP() odm_RSSIMonitorInit() odm_RefreshRateAdaptiveMask23aAPADSL23a() odm_RefreshRateAdaptiveMask23aMP23a() This was partia

[PATCH] sound: pci: ice1712: wm8776.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: snd_wm8776_set_master_mode() snd_wm8776_set_adc_if() snd_wm8776_set_dac_if() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- sound/pci/ice1712/wm8776.c | 15 ---

[PATCH] net: wireless: cw1200: queue.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function cw1200_queue_requeue_all() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/net/wireless/cw1200/queue.c | 27 --- drivers/net/wireless/cw1200

[PATCH] powerpc: Wire up sys_execveat() syscall

2014-12-20 Thread Pranith Kumar
Wire up sys_execveat(). This passes the selftests for the system call. Check success of execveat(3, '../execveat', 0)... [OK] Check success of execveat(5, 'execveat', 0)... [OK] Check success of execveat(6, 'execveat', 0)... [OK] Check success of execveat(-100, '/home/pranith/linux/...ftests/exec/

[PATCHv2 1/1] staging: rtl8723au: Fix sparse invalid assignment warnings

2014-12-20 Thread Yannis Damigos
This is a patch to the hal/rtl8723au_xmit.c file that fixes the following warnings found by sparse tool: drivers/staging/rtl8723au//hal/rtl8723au_xmit.c:88:22: warning: invalid assignment: |= drivers/staging/rtl8723au//hal/rtl8723au_xmit.c:88:22:left side has type unsigned int drivers/stagin

[PATCH] net: ceph: crypto.c: Remove some unused functions

2014-12-20 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: ceph_encrypt() ceph_decrypt() ceph_crypto_key_encode() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- net/ceph/crypto.c | 52 --

Re: frequent lockups in 3.18rc4

2014-12-20 Thread Dave Jones
On Fri, Dec 19, 2014 at 02:05:20PM -0800, Linus Torvalds wrote: > > Right now I'm doing Chris' idea of "turn debugging back on, > > and try without serial console". Shall I try your suggestion > > on top of that ? > > Might as well. I doubt it really will make any difference, but I also > d

Re: [PATCH] scsi: arm: cumana_1.c: Remove unused function

2014-12-20 Thread Jeremiah Mahler
On Sat, Dec 20, 2014 at 05:36:15PM +0100, Rickard Strandqvist wrote: > Remove the function cumanascsi_setup() that is not used anywhere. > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist > --- > drivers/scsi/arm/cuman

[PATCH] gpu: drm: nouveau: core: subdev: clock: base.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
Remove the function nouveau_clock_astate() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/gpu/drm/nouveau/core/include/subdev/clock.h |1 - drivers/gpu/drm/nouveau/core/subdev/clock

Re: [PATCH] scsi: arm: cumana_1.c: Remove unused function

2014-12-20 Thread Rickard Strandqvist
2014-12-20 17:50 GMT+01:00 Jeremiah Mahler : > On Sat, Dec 20, 2014 at 05:36:15PM +0100, Rickard Strandqvist wrote: >> Remove the function cumanascsi_setup() that is not used anywhere. >> >> This was partially found by using a static code analysis program called >> cppcheck. >> >> Signed-off-by: R

  1   2   3   >