Re: [PATCH] [media] staging/imx: remove confusing IS_ERR_OR_NULL usage

2017-07-02 Thread kbuild test robot
Hi Arnd, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on next-20170630] [cannot apply to v4.12-rc7] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Arnd-Bergmann/staging

[PATCH] staging: sm750fb: refactor the clock frequency calculation method

2017-07-02 Thread Lynn Lei
speed up calculation by merging two divisions into one. Signed-off-by: Lynn Lei --- drivers/staging/sm750fb/ddk750_chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c index c51761221131..5970c37

[PATCH] staging: sm750fb: refactor method and fix potential type inconsistence

2017-07-02 Thread Lynn Lei
make reg variable typed `u32' not `unsigned int' this can fix potential type inconsistence in some platforms refactor swPanelPowerSequence() make the code less redundant a early check for disp to skip unnecessary delay Signed-off-by: Lynn Lei --- drivers/staging/sm750fb/ddk750_display.c | 36 +

[PATCH v2] staging: sm750fb: refactor method and fix potential type inconsistence

2017-07-02 Thread Lynn Lei
include PANEL_DISPLAY_CTRL_FPVDDEN control mask Signed-off-by: Lynn Lei --- drivers/staging/sm750fb/ddk750_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/ddk750_display.c b/drivers/staging/sm750fb/ddk750_display.c index 0f666dc2729a..c68367

[PATCH 0/1] Fix cast to restricted __le16 in ks7010 driver

2017-07-02 Thread Janusz Lisiecki
This patch fixes Sparse warining found in ks_wlan_net.c. This seems to be last of it reported by Sparse for that driver. Janusz Lisiecki (1): staging: ks7010: Fix warning of cast to restricted __le16 in ks_wlan_net.c drivers/staging/ks7010/ks_wlan_net.c | 2 +- 1 file changed, 1 insertion

[PATCH 1/1] staging: ks7010: Fix cast to restricted __le16 in ks_wlan_net.c

2017-07-02 Thread Janusz Lisiecki
This patch fixes the following Sparse warnings in ks_wlan_net.c: drivers/staging/ks7010/ks_wlan_net.c:1359:24: warning: cast to restricted __le16 Both sides of assignment are u16 so (as 'ap' is local_ap_t type and 'capability' member, have the same as local 'capabilities' type of u16) 'le16_to_cpu

Re: [PATCH 1/1] staging: ks7010: Fix cast to restricted __le16 in ks_wlan_net.c

2017-07-02 Thread Luc Van Oostenryck
On Sun, Jul 2, 2017 at 4:27 PM, Janusz Lisiecki wrote: > This patch fixes the following Sparse warnings in ks_wlan_net.c: > drivers/staging/ks7010/ks_wlan_net.c:1359:24: warning: cast to restricted > __le16 > Both sides of assignment are u16 so (as 'ap' is local_ap_t type and > 'capability' memb

Re: [PATCH 1/1] staging: ks7010: Fix cast to restricted __le16 in ks_wlan_net.c

2017-07-02 Thread Janusz Lisiecki
W dniu 2017-07-02 o 21:38, Luc Van Oostenryck pisze: On Sun, Jul 2, 2017 at 4:27 PM, Janusz Lisiecki wrote: This patch fixes the following Sparse warnings in ks_wlan_net.c: drivers/staging/ks7010/ks_wlan_net.c:1359:24: warning: cast to restricted __le16 Both sides of assignment are u16 so (as '

Re: [PATCH 1/1] staging: ks7010: Fix cast to restricted __le16 in ks_wlan_net.c

2017-07-02 Thread Luc Van Oostenryck
On Sun, Jul 2, 2017 at 10:49 PM, Janusz Lisiecki wrote: > W dniu 2017-07-02 o 21:38, Luc Van Oostenryck pisze: > >> On Sun, Jul 2, 2017 at 4:27 PM, Janusz Lisiecki >> wrote: >>> >>> This patch fixes the following Sparse warnings in ks_wlan_net.c: >>> drivers/staging/ks7010/ks_wlan_net.c:1359:24:

Re: [PATCH] hv: fix msi affinity when device requests all possible CPU's

2017-07-02 Thread Bjorn Helgaas
On Wed, Jun 28, 2017 at 04:22:04PM -0700, Stephen Hemminger wrote: > When Intel 10G (ixgbevf) is passed to a Hyper-V guest with SR-IOV, > the driver requests affinity with all possible CPU's (0-239) even > those CPU's are not online (and will never be). Because of this the device > is unable to cor

[PATCH] staging: sm750fb: skip unnecessary comparisons

2017-07-02 Thread Lynn Lei
introduced early checks to skip unnecessary comparisons when flags set. Signed-off-by: Lynn Lei --- drivers/staging/sm750fb/sm750.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index 386d4adcd91d

[PATCH 1/1] staging: ks7010: Fix cast to restricted __le16 in ks_wlan_net.c

2017-07-02 Thread Janusz Lisiecki
This patch fixes the following Sparse warnings in ks_wlan_net.c: drivers/staging/ks7010/ks_wlan_net.c:1359:24: warning: cast to restricted __le16 link_ap_info_t structure field 'capability' has native order and is used everywhere in the code in such way (i.e get_ap_information, get_current_ap). Bo

[PATCH 0/1] Fix cast to restricted __le16 in ks7010 driver

2017-07-02 Thread Janusz Lisiecki
This patch fixes Sparse warining found in ks_wlan_net.c. This seems to be last of it reported by Sparse for that driver. link_ap_info_t structure field 'capability' has native order and is used everywhere in the code in such way (i.e get_ap_information, get_current_ap), so le16_to_cpu() on it is wr

Re: [PATCH 1/1] staging: ks7010: Fix cast to restricted __le16 in ks_wlan_net.c

2017-07-02 Thread Janusz Lisiecki
W dniu 2017-07-02 o 23:23, Luc Van Oostenryck pisze: On Sun, Jul 2, 2017 at 10:49 PM, Janusz Lisiecki wrote: W dniu 2017-07-02 o 21:38, Luc Van Oostenryck pisze: On Sun, Jul 2, 2017 at 4:27 PM, Janusz Lisiecki wrote: This patch fixes the following Sparse warnings in ks_wlan_net.c: drivers/s

Re: [PATCH] staging: sm750fb: skip unnecessary comparisons

2017-07-02 Thread Greg KH
On Mon, Jul 03, 2017 at 09:26:47AM +0800, Lynn Lei wrote: > introduced early checks to skip unnecessary comparisons when flags set. Why? > > Signed-off-by: Lynn Lei > --- > drivers/staging/sm750fb/sm750.c | 11 --- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/dri

Re: [PATCH v2] staging: sm750fb: refactor method and fix potential type inconsistence

2017-07-02 Thread Greg KH
On Sun, Jul 02, 2017 at 10:40:33PM +0800, Lynn Lei wrote: > include PANEL_DISPLAY_CTRL_FPVDDEN control mask Does the subject match this? > Signed-off-by: Lynn Lei > --- > drivers/staging/sm750fb/ddk750_display.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/

Re: [PATCH] staging: sm750fb: refactor the clock frequency calculation method

2017-07-02 Thread Greg KH
On Sun, Jul 02, 2017 at 08:24:26PM +0800, Lynn Lei wrote: > speed up calculation by merging two divisions into one. How much did you speed it up? Please provide proof of anything like this if you say it is a speed up. > > Signed-off-by: Lynn Lei > --- > drivers/staging/sm750fb/ddk750_chip.c |

Re: [PATCH] staging: sm750fb: refactor method and fix potential type inconsistence

2017-07-02 Thread Greg KH
On Sun, Jul 02, 2017 at 10:27:40PM +0800, Lynn Lei wrote: > make reg variable typed `u32' not `unsigned int' > this can fix potential type inconsistence in some platforms It can? What platform? > > refactor swPanelPowerSequence() make the code less redundant > > a early check for disp to skip

Re: [PATCH] staging: sm750fb: fixed a assignment typo

2017-07-02 Thread Greg KH
On Sun, Jul 02, 2017 at 12:39:24PM +0800, Lynn Lei wrote: > Fixed a typo issue in get_mxclk_freq(). What typo issue is that? Please always be specific in the changelog text. thanks, greg k-h ___ devel mailing list de...@linuxdriverproject.org http://d