Re: [GIT PULL] x86/mm changes for v4.4

2015-11-07 Thread Ard Biesheuvel
On 8 November 2015 at 07:58, Kees Cook wrote: > On Fri, Nov 6, 2015 at 11:39 PM, Ard Biesheuvel > wrote: >> On 7 November 2015 at 08:09, Ingo Molnar wrote: >>> >>> * Matt Fleming wrote: >>> On Fri, 06 Nov, at 07:55:50AM, Ingo Molnar wrote: > > 3) We should fix the EFI

[PATCH] tpm: fix compat 'ppi' link handling in tpm_chip_register()

2015-11-07 Thread Jarkko Sakkinen
__compat_only_sysfs_link_entry_to_kobj() was unconditionally called for TPM1 chips, which caused crash on Acer C720 laptop where DSM for the ACPI object did not exist. There are two reasons for unwanted behavior: * The code did not check whether __compat_only_sysfs_link_entry_to_kobj()

Re: [BUG, PATCH 03/10] sysfs: added __compat_only_sysfs_link_entry_to_kobj()

2015-11-07 Thread Jarkko Sakkinen
On Sat, Nov 07, 2015 at 07:04:04PM -0800, Jeremiah Mahler wrote: > Jarkko, > > On Sun, Nov 08, 2015 at 02:49:06AM +0200, Jarkko Sakkinen wrote: > > On Sat, Nov 07, 2015 at 03:11:47PM -0800, Jeremiah Mahler wrote: > > > Jarkko, > > > > [...] > > > > > > It sounds like you have the problem

[PATCH] dma: fix returnvar.cocci warnings

2015-11-07 Thread Julia Lawall
Remove unneeded variable used to store return value. Generated by: scripts/coccinelle/misc/returnvar.cocci CC: Sinan Kaya Signed-off-by: Fengguang Wu --- hidma_ll.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) --- a/drivers/dma/qcom/hidma_ll.c +++

[tip:perf/urgent] perf test: Add 'perf test BPF'

2015-11-07 Thread tip-bot for Wang Nan
Commit-ID: ba1fae431e74bb427a699187434142fd3fe98390 Gitweb: http://git.kernel.org/tip/ba1fae431e74bb427a699187434142fd3fe98390 Author: Wang Nan AuthorDate: Fri, 6 Nov 2015 13:49:43 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 Nov 2015 17:50:03 -0300 perf test: Add

[tip:perf/urgent] perf test: Do not be case sensitive when searching for matching tests

2015-11-07 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 345c99a303e1d97b407bf99190314a878d59ca92 Gitweb: http://git.kernel.org/tip/345c99a303e1d97b407bf99190314a878d59ca92 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 6 Nov 2015 17:03:38 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 Nov 2015 17:50:04 -0300

[tip:perf/urgent] perf test: Enhance the LLVM tests: add kbuild test

2015-11-07 Thread tip-bot for Wang Nan
Commit-ID: 7af3f3d55b80cce40ad94b6b8e173dccedaf25e6 Gitweb: http://git.kernel.org/tip/7af3f3d55b80cce40ad94b6b8e173dccedaf25e6 Author: Wang Nan AuthorDate: Fri, 6 Nov 2015 13:49:42 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 Nov 2015 17:49:50 -0300 perf test: Enhance

Re: [PATCH 2/2] staging: sm750fb: add spaces around operator

2015-11-07 Thread Othmar Pasteka
On Sun, Nov 08, 2015 at 09:35:08AM +0300, Dan Carpenter wrote: > If it's a one line fix then just send it as a single patch. It was two things, hence I made it a two-parter. Should I send a new version or is it a note for next time? Thanks, Othmar Pasteka -- To unsubscribe from this list: send

[tip:perf/urgent] perf test: Enhance the LLVM test: update basic BPF test program

2015-11-07 Thread tip-bot for Wang Nan
Commit-ID: b31de018a6284a25e0fdfeb028e724f8417ec3b1 Gitweb: http://git.kernel.org/tip/b31de018a6284a25e0fdfeb028e724f8417ec3b1 Author: Wang Nan AuthorDate: Fri, 6 Nov 2015 13:49:41 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 Nov 2015 17:49:24 -0300 perf test: Enhance

[tip:perf/urgent] perf tools: Make fetch_kernel_version() publicly available

2015-11-07 Thread tip-bot for Wang Nan
Commit-ID: 07bc5c699a3d8fe5e26dbcd72e4103c7988055ba Gitweb: http://git.kernel.org/tip/07bc5c699a3d8fe5e26dbcd72e4103c7988055ba Author: Wang Nan AuthorDate: Fri, 6 Nov 2015 13:55:35 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 Nov 2015 15:57:18 -0300 perf tools: Make

[tip:perf/urgent] bpf tools: Add new API bpf_object__get_kversion ()

2015-11-07 Thread tip-bot for Wang Nan
Commit-ID: 45825d8ab8ef6287f5d05aea141419d8d4278852 Gitweb: http://git.kernel.org/tip/45825d8ab8ef6287f5d05aea141419d8d4278852 Author: Wang Nan AuthorDate: Fri, 6 Nov 2015 13:49:38 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 Nov 2015 15:56:41 -0300 bpf tools: Add new

[tip:perf/urgent] perf bpf: Improve BPF related error messages

2015-11-07 Thread tip-bot for Wang Nan
Commit-ID: d3e0ce393057cfa907a0c4fe7b1ff56d5c30cca5 Gitweb: http://git.kernel.org/tip/d3e0ce393057cfa907a0c4fe7b1ff56d5c30cca5 Author: Wang Nan AuthorDate: Fri, 6 Nov 2015 13:58:09 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 Nov 2015 17:14:20 -0300 perf bpf: Improve

[tip:perf/urgent] bpf tools: Improve libbpf error reporting

2015-11-07 Thread tip-bot for Wang Nan
Commit-ID: 6371ca3b541c82d8aa6a9002bd52d92bcdda5944 Gitweb: http://git.kernel.org/tip/6371ca3b541c82d8aa6a9002bd52d92bcdda5944 Author: Wang Nan AuthorDate: Fri, 6 Nov 2015 13:49:37 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 Nov 2015 15:52:41 -0300 bpf tools: Improve

[tip:perf/urgent] perf probe: Cleanup find_perf_probe_point_from_map to reduce redundancy

2015-11-07 Thread tip-bot for Masami Hiramatsu
Commit-ID: 0a62f6869f2768687af2c94d97f3b2fcf5b73367 Gitweb: http://git.kernel.org/tip/0a62f6869f2768687af2c94d97f3b2fcf5b73367 Author: Masami Hiramatsu AuthorDate: Fri, 6 Nov 2015 17:30:03 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 Nov 2015 10:47:33 -0300 perf probe:

[tip:perf/urgent] perf annotate: Inform the user about objdump failures in --stdio

2015-11-07 Thread tip-bot for Andi Kleen
Commit-ID: 62ec9b3f02a9bccaf699bd4691db98f779c3075f Gitweb: http://git.kernel.org/tip/62ec9b3f02a9bccaf699bd4691db98f779c3075f Author: Andi Kleen AuthorDate: Thu, 5 Nov 2015 19:06:07 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 Nov 2015 10:20:48 -0300 perf annotate:

[tip:perf/urgent] perf trace: Fix documentation for -i

2015-11-07 Thread tip-bot for Peter Feiner
Commit-ID: 956959f6b7a982b2e789a7a8fa1de437074a5eb9 Gitweb: http://git.kernel.org/tip/956959f6b7a982b2e789a7a8fa1de437074a5eb9 Author: Peter Feiner AuthorDate: Wed, 4 Nov 2015 09:21:46 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 Nov 2015 12:47:51 -0300 perf trace: Fix

[tip:perf/urgent] perf stat: Make stat options global

2015-11-07 Thread tip-bot for Jiri Olsa
Commit-ID: e0547311133159bf95f7998726e4e4932d78d8ce Gitweb: http://git.kernel.org/tip/e0547311133159bf95f7998726e4e4932d78d8ce Author: Jiri Olsa AuthorDate: Thu, 5 Nov 2015 15:40:45 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 Nov 2015 17:54:34 -0300 perf stat: Make

[tip:perf/urgent] perf sched latency: Fix thread pid reuse issue

2015-11-07 Thread tip-bot for Jiri Olsa
Commit-ID: 0014de172d228e450377d1fd079d94e67128d27f Gitweb: http://git.kernel.org/tip/0014de172d228e450377d1fd079d94e67128d27f Author: Jiri Olsa AuthorDate: Mon, 2 Nov 2015 12:10:25 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 Nov 2015 12:51:00 -0300 perf sched

[tip:perf/urgent] perf tools: Fix find_perf_probe_point_from_map( ) which incorrectly returns success

2015-11-07 Thread tip-bot for Wang Nan
Commit-ID: 98d3b258ede2cdac31a2728543f652964e597e79 Gitweb: http://git.kernel.org/tip/98d3b258ede2cdac31a2728543f652964e597e79 Author: Wang Nan AuthorDate: Thu, 5 Nov 2015 13:19:25 + Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 Nov 2015 12:47:52 -0300 perf tools: Fix

[tip:perf/urgent] perf llvm: Pass LINUX_VERSION_CODE to BPF program when compiling

2015-11-07 Thread tip-bot for Wang Nan
Commit-ID: 4a4f66a1a7031675745812729ade94ad1caf1db6 Gitweb: http://git.kernel.org/tip/4a4f66a1a7031675745812729ade94ad1caf1db6 Author: Wang Nan AuthorDate: Wed, 4 Nov 2015 11:20:05 + Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 Nov 2015 12:47:50 -0300 perf llvm: Pass

[tip:perf/urgent] tools lib bpf: Change FEATURE-DUMP to FEATURE-DUMP.libbpf

2015-11-07 Thread tip-bot for Yunlong Song
Commit-ID: 0c77c04aa9c2b3a154f5cb0559feaee3fb7a6935 Gitweb: http://git.kernel.org/tip/0c77c04aa9c2b3a154f5cb0559feaee3fb7a6935 Author: Yunlong Song AuthorDate: Thu, 5 Nov 2015 14:56:34 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 Nov 2015 12:47:51 -0300 tools lib bpf:

[tip:perf/urgent] perf llvm: Pass number of configured CPUs to clang compiler

2015-11-07 Thread tip-bot for Wang Nan
Commit-ID: 59f41af980f95cbd556a6dc2e064b412abc439cf Gitweb: http://git.kernel.org/tip/59f41af980f95cbd556a6dc2e064b412abc439cf Author: Wang Nan AuthorDate: Wed, 4 Nov 2015 11:20:04 + Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 Nov 2015 12:47:02 -0300 perf llvm: Pass

[tip:perf/urgent] perf tools: Allow shuffling the build tests

2015-11-07 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 98916392a0bdfd71668b711fd93915791f45df02 Gitweb: http://git.kernel.org/tip/98916392a0bdfd71668b711fd93915791f45df02 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 4 Nov 2015 16:25:32 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 Nov 2015 11:39:54 -0300

[tip:perf/urgent] perf tools: Insert split maps correctly into origin group

2015-11-07 Thread tip-bot for Jiri Olsa
Commit-ID: cb8382e05817a8104ea0edb63b8e37b8fbecd14c Gitweb: http://git.kernel.org/tip/cb8382e05817a8104ea0edb63b8e37b8fbecd14c Author: Jiri Olsa AuthorDate: Wed, 4 Nov 2015 15:08:11 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 Nov 2015 11:39:38 -0300 perf tools: Insert

[tip:perf/urgent] perf stat: Use common printout function to avoid duplicated code

2015-11-07 Thread tip-bot for Andi Kleen
Commit-ID: eedfcb4bc5f0185a14fc9e1e5a9770ad833ea5a4 Gitweb: http://git.kernel.org/tip/eedfcb4bc5f0185a14fc9e1e5a9770ad833ea5a4 Author: Andi Kleen AuthorDate: Mon, 2 Nov 2015 17:50:21 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 4 Nov 2015 15:12:04 -0300 perf stat: Use

[tip:perf/urgent] perf stat: Move sw clock metrics printout to stat-shadow

2015-11-07 Thread tip-bot for Andi Kleen
Commit-ID: 4579ecc8b3e0c611b5c8f6ca7f7b07d1412d8a7b Gitweb: http://git.kernel.org/tip/4579ecc8b3e0c611b5c8f6ca7f7b07d1412d8a7b Author: Andi Kleen AuthorDate: Mon, 2 Nov 2015 17:50:20 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 4 Nov 2015 15:11:41 -0300 perf stat: Move

[tip:perf/urgent] perf test: Keep test result clean if '-v' not set

2015-11-07 Thread tip-bot for Wang Nan
Commit-ID: 597bdeb4ab7396c43935eded15f82e3e100b3ff3 Gitweb: http://git.kernel.org/tip/597bdeb4ab7396c43935eded15f82e3e100b3ff3 Author: Wang Nan AuthorDate: Tue, 3 Nov 2015 10:44:42 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 3 Nov 2015 11:45:40 -0300 perf test: Keep

[tip:perf/urgent] tools lib bpf: Fix compiler warning on CentOS 6

2015-11-07 Thread tip-bot for Namhyung Kim
Commit-ID: 715f8db9102f1ab40ea4a87bedfe86399323698f Gitweb: http://git.kernel.org/tip/715f8db9102f1ab40ea4a87bedfe86399323698f Author: Namhyung Kim AuthorDate: Tue, 3 Nov 2015 20:21:05 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 3 Nov 2015 12:13:31 -0300 tools lib bpf:

[tip:perf/urgent] perf bpf: Mute libbpf when '-v' not set

2015-11-07 Thread tip-bot for Wang Nan
Commit-ID: 7a0119468c9c2deff24ef24e1b4d2c1bd1523fd5 Gitweb: http://git.kernel.org/tip/7a0119468c9c2deff24ef24e1b4d2c1bd1523fd5 Author: Wang Nan AuthorDate: Tue, 3 Nov 2015 10:44:43 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 3 Nov 2015 12:06:04 -0300 perf bpf: Mute

Re: [GIT PULL 00/11] perf/core improvements and fixes

2015-11-07 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, this is on top of the perf-core-for-mingo tag, > that is outstanding. > > Best regards, > > - Arnaldo > > The following changes since commit 0014de172d228e450377d1fd079d94e67128d27f: > > perf sched latency:

[PATCH v2 12/12] staging: rtl8188eu: remove unused RTW_STATUS_CODE function

2015-11-07 Thread Ivan Safonov
This driver is only for the Linux kernel. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/osdep_service.h | 2 -- drivers/staging/rtl8188eu/os_dep/osdep_service.c | 11 --- 2 files changed, 13 deletions(-) diff --git

[PATCH v2 10/12] staging: rtl8188eu: reg_macid variable removed in hw_var_set_macaddr

2015-11-07 Thread Ivan Safonov
The reg_macid variable used only once. Also idx renamed to i and Adapter to adapter. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c

[PATCH v2 11/12] staging: rtl8188eu: reg_bssid variable removed in hw_var_set_bssid

2015-11-07 Thread Ivan Safonov
The reg_bssid variable used only once. Also idx renamed to i and Adapter to adapter. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c

[PATCH v2 09/12] staging: rtl8188eu: remove redundant spases

2015-11-07 Thread Ivan Safonov
They are not needed. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c b/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c index 62f83ab..0e2528a

[PATCH v2 08/12] staging: rtl8188eu: if (a) ; else {...} replaced by if (!a) {...}

2015-11-07 Thread Ivan Safonov
It is looks bit better. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c b/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c index

[PATCH v2 06/12] staging: rtl8188eu: use memset instead of for loop

2015-11-07 Thread Ivan Safonov
memset clearer than the for loop. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/fw.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/fw.c b/drivers/staging/rtl8188eu/hal/fw.c index 7f1df4d..298e3e8 100644 ---

[PATCH v2 07/12] staging: rtl8188eu: sets the error code in wpa_set_encryption

2015-11-07 Thread Ivan Safonov
Most likely it is missed here. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c b/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c index a076ede..7c79774 100644 ---

[PATCH v2 05/12] staging: rtl8188eu: kzalloc replaced by kmalloc

2015-11-07 Thread Ivan Safonov
_rtl88e_fill_dummy fills the array elemets with zeros if necessary. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/fw.c b/drivers/staging/rtl8188eu/hal/fw.c index

[PATCH v2 04/12] staging: rtl8188eu: remove unused hal_data_8188e members

2015-11-07 Thread Ivan Safonov
u8 *pfirmware and u32 fwsize of hal_data_8188e structure not used. The pfwdata variable used to store a pointer to the buffer in rtl88eu_download_fw and the pfwbody variable points to the body of the firmware (without header). Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/fw.c

[PATCH v2 03/12] staging: rtl8188eu: change error code from -1 to -EFBIG

2015-11-07 Thread Ivan Safonov
-EFBIG more sutiable then -1 Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/fw.c b/drivers/staging/rtl8188eu/hal/fw.c index 5b569ef..3e354eb 100644 ---

[PATCH v2 02/12] staging: rtl8188eu: return value and argument types changed in _rtl88e_write_fw function

2015-11-07 Thread Ivan Safonov
Ideally the function should not change the variables outside of its body. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/fw.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/fw.c b/drivers/staging/rtl8188eu/hal/fw.c index

[PATCH v2 01/12] staging: rtl8188eu: if/else replaced by min_t

2015-11-07 Thread Ivan Safonov
Duplicated code removed. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_cmd.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c b/drivers/staging/rtl8188eu/core/rtw_cmd.c index 433b926..69f8744d9 100644 ---

Re: [PATCH 12/12] staging: rtl8188eu: remove unused RTW_STATUS_CODE function

2015-11-07 Thread Ivan Safonov
On 11/08/2015 01:53 PM, Ivan Safonov wrote: This driver is only for the Linux kernel. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/osdep_service.h | 2 -- drivers/staging/rtl8188eu/os_dep/osdep_service.c | 11 --- 2 files changed, 13 deletions(-) diff --git

[PATCH 05/12] staging: rtl8188eu: kzalloc replaced by kmalloc

2015-11-07 Thread Ivan Safonov
_rtl88e_fill_dummy fills the array elemets with zeros if necessary. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/fw.c b/drivers/staging/rtl8188eu/hal/fw.c index

[PATCH 03/13] staging: rtl8188eu: change error code from -1 to -EFBIG

2015-11-07 Thread Ivan Safonov
-EFBIG more sutiable then -1 Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/fw.c b/drivers/staging/rtl8188eu/hal/fw.c index 5b569ef..3e354eb 100644 ---

[PATCH 04/13] staging: rtl8188eu: remove unused hal_data_8188e members

2015-11-07 Thread Ivan Safonov
u8 *pfirmware and u32 fwsize of hal_data_8188e structure not used. The pfwdata variable used to store a pointer to the buffer and the pfwbody variable points to the firmware body (firmware without header). Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/fw.c | 16

[PATCH 09/12] staging: rtl8188eu: remove redundant spases

2015-11-07 Thread Ivan Safonov
They are not needed. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c b/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c index 62f83ab..0e2528a

[PATCH 07/12] staging: rtl8188eu: sets the error code in wpa_set_encryption

2015-11-07 Thread Ivan Safonov
Most likely it is missed here. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c b/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c index a076ede..7c79774 100644 ---

[PATCH 11/12] staging: rtl8188eu: reg_bssid variable removed in hw_var_set_bssid

2015-11-07 Thread Ivan Safonov
The reg_bssid variable used only once. Also idx renamed to i and Adapter to adapter. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c

[PATCH 01/13] staging: rtl8188eu: if/else replaced by min_t

2015-11-07 Thread Ivan Safonov
Duplicated code removed. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_cmd.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c b/drivers/staging/rtl8188eu/core/rtw_cmd.c index 433b926..69f8744d9 100644 ---

[PATCH 10/12] staging: rtl8188eu: reg_macid variable removed in hw_var_set_macaddr

2015-11-07 Thread Ivan Safonov
The reg_macid variable used only once. Also idx renamed to i and Adapter to adapter. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c

Re: [GIT PULL] x86/mm changes for v4.4

2015-11-07 Thread Kees Cook
On Fri, Nov 6, 2015 at 11:39 PM, Ard Biesheuvel wrote: > On 7 November 2015 at 08:09, Ingo Molnar wrote: >> >> * Matt Fleming wrote: >> >>> On Fri, 06 Nov, at 07:55:50AM, Ingo Molnar wrote: >>> > >>> > 3) We should fix the EFI permission problem without relying on the >>> > firmware: it >>> >

[PATCH 03/12] staging: rtl8188eu: change error code from -1 to -EFBIG

2015-11-07 Thread Ivan Safonov
-EFBIG more sutiable then -1 Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/fw.c b/drivers/staging/rtl8188eu/hal/fw.c index 5b569ef..3e354eb 100644 ---

[PATCH 04/12] staging: rtl8188eu: remove unused hal_data_8188e members

2015-11-07 Thread Ivan Safonov
u8 *pfirmware and u32 fwsize of hal_data_8188e structure not used. The pfwdata variable used to store a pointer to the buffer in rtl88eu_download_fw and the pfwbody variable points to the body of the firmware (without header). Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/fw.c

[PATCH 12/12] staging: rtl8188eu: remove unused RTW_STATUS_CODE function

2015-11-07 Thread Ivan Safonov
This driver is only for the Linux kernel. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/osdep_service.h | 2 -- drivers/staging/rtl8188eu/os_dep/osdep_service.c | 11 --- 2 files changed, 13 deletions(-) diff --git

[PATCH 02/13] staging: rtl8188eu: return value and argument types changed in _rtl88e_write_fw function

2015-11-07 Thread Ivan Safonov
Ideally the function should not change the variables outside of its body. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/fw.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/fw.c b/drivers/staging/rtl8188eu/hal/fw.c index

[PATCH 01/12] staging: rtl8188eu: if/else replaced by min_t

2015-11-07 Thread Ivan Safonov
Duplicated code removed. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_cmd.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c b/drivers/staging/rtl8188eu/core/rtw_cmd.c index 433b926..69f8744d9 100644 ---

[PATCH 02/12] staging: rtl8188eu: return value and argument types changed in _rtl88e_write_fw function

2015-11-07 Thread Ivan Safonov
Ideally the function should not change the variables outside of its body. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/fw.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/fw.c b/drivers/staging/rtl8188eu/hal/fw.c index

[PATCH 06/12] staging: rtl8188eu: use memset instead of for loop

2015-11-07 Thread Ivan Safonov
memset clearer than the for loop. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/fw.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/fw.c b/drivers/staging/rtl8188eu/hal/fw.c index 7f1df4d..298e3e8 100644 ---

[PATCH 08/12] staging: rtl8188eu: if (a) ; else {...} replaced by if (!a) {...}

2015-11-07 Thread Ivan Safonov
It is looks bit better. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c b/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c index

Re: [PATCH 2/2] staging: sm750fb: add spaces around operator

2015-11-07 Thread Dan Carpenter
If it's a one line fix then just send it as a single patch. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

This is our second e-mail notice to you (€950,000.00)

2015-11-07 Thread Qatar Foundation
Dear Recipient, You have been selected to receive €950,000.00 Euros, from Qatar Foundation award. Kindly contact Mr. Rashid Al-Naimi, for more information through e-mail at: qfor...@gmail.com Yours sincerely, Mr. Rashid Al-Naimi. Contact e-mail: qfor...@gmail.com Chief Executive Officer of

Re: [PATCH] tree wide: Use kvfree() than conditional kfree()/vfree()

2015-11-07 Thread Sergey Senozhatsky
On (11/08/15 14:04), Tetsuo Handa wrote: [..] > Also, we might want to add a helper that does vmalloc() when > kmalloc() failed because locations that do > > ptr = kmalloc(size, GFP_NOFS); > if (!ptr) > ptr = vmalloc(size); /* Wrong because GFP_KERNEL is used implicitly */ > > are

Re: [PATCH V3 3/4] dmaselftest: add memcpy selftest support functions

2015-11-07 Thread Timur Tabi
Sinan Kaya wrote: +static int dma_selftest_sg(struct dma_device *dmadev, + struct dma_chan *dma_chanptr, u64 size, + unsigned long flags) +{ + dma_addr_t src_dma, dest_dma, dest_dma_it; + u8 *dest_buf; + u32 i, j = 0; +

Re: [PATCH v2 00/20] Fix handling of compat_siginfo_t

2015-11-07 Thread Andy Lutomirski
On Wed, Nov 4, 2015 at 4:50 PM, Amanieu d'Antras wrote: > One issue that isn't resolved in this series is sending signals between a > 32-bit > process and 64-bit process. Sending a si_int will work correctly, but a si_ptr > value will likely get corrupted due to the different layouts of the

Re: [PATCH V3 2/4] dma: add Qualcomm Technologies HIDMA management driver

2015-11-07 Thread Timur Tabi
Sinan Kaya wrote: + val = val & ~(MAX_BUS_REQ_LEN_MASK << MAX_BUS_WR_REQ_BIT_POS); + val = val | (mgmtdev->max_write_request << MAX_BUS_WR_REQ_BIT_POS); + val = val & ~(MAX_BUS_REQ_LEN_MASK); + val = val | (mgmtdev->max_read_request); val &= ~MAX_BUS_REQ_LEN_MASK <<

Re: [PATCH] jbd2: get rid of superfluous __GFP_REPEAT

2015-11-07 Thread Theodore Ts'o
On Sat, Nov 07, 2015 at 10:22:55AM +0900, Tetsuo Handa wrote: > All jbd2_alloc() callers seem to pass GFP_NOFS. Therefore, use of > vmalloc() which implicitly passes GFP_KERNEL | __GFP_HIGHMEM can cause > deadlock, can't it? This vmalloc(size) call needs to be replaced with > __vmalloc(size,

Re: [PATCH] tree wide: Use kvfree() than conditional kfree()/vfree()

2015-11-07 Thread Tetsuo Handa
Andy Shevchenko wrote: > Like Joe noticed you have left few places like > void my_func_kvfree(arg) > { > kvfree(arg); > } > > Might make sense to remove them completely, especially in case when > you have changed the callers. I think we should stop at #define my_func_kvfree(arg) kvfree(arg) in

Re: [PATCH V3 1/4] dma: qcom_bam_dma: move to qcom directory

2015-11-07 Thread Timur Tabi
Sinan Kaya wrote: Creating a QCOM directory for all QCOM DMA source files. Signed-off-by: Sinan Kaya --- drivers/dma/Kconfig| 13 +- drivers/dma/Makefile |2 +- drivers/dma/qcom/Kconfig |9 + drivers/dma/qcom/Makefile |1 + drivers/dma/qcom/bam_dma.c | 1259

[PATCH V3 2/4] dma: add Qualcomm Technologies HIDMA management driver

2015-11-07 Thread Sinan Kaya
The Qualcomm Technologies HIDMA device has been designed to support virtualization technology. The driver has been divided into two to follow the hardware design. 1. HIDMA Management driver 2. HIDMA Channel driver Each HIDMA HW consists of multiple channels. These channels share some set of

[PATCH V3 4/4] dma: add Qualcomm Technologies HIDMA channel driver

2015-11-07 Thread Sinan Kaya
This patch adds support for hidma engine. The driver consists of two logical blocks. The DMA engine interface and the low-level interface. The hardware only supports memcpy/memset and this driver only support memcpy interface. HW and driver doesn't support slave interface. Signed-off-by: Sinan

[PATCH V3 1/4] dma: qcom_bam_dma: move to qcom directory

2015-11-07 Thread Sinan Kaya
Creating a QCOM directory for all QCOM DMA source files. Signed-off-by: Sinan Kaya --- drivers/dma/Kconfig| 13 +- drivers/dma/Makefile |2 +- drivers/dma/qcom/Kconfig |9 + drivers/dma/qcom/Makefile |1 + drivers/dma/qcom/bam_dma.c | 1259

[PATCH V3 3/4] dmaselftest: add memcpy selftest support functions

2015-11-07 Thread Sinan Kaya
This patch adds supporting utility functions for selftest. The intention is to share the self test code between different drivers. Supported test cases include: 1. dma_map_single 2. streaming DMA 3. coherent DMA 4. scatter-gather DMA Signed-off-by: Sinan Kaya --- drivers/dma/dmaengine.h |

Re: [RFC PATCH 00/28] Linux Kernel Library

2015-11-07 Thread Octavian Purdila
On Sat, Nov 7, 2015 at 2:35 AM, Richard Weinberger wrote: > Am 04.11.2015 um 15:15 schrieb Octavian Purdila: >> We could redefine the syscalls/libc symbols to call lkl_sys_ functions >> in launch-lkl, e.g.: >> >> int opendir(const char *path) >> { >>return lkl_opendir(new_path) >> } > > To

Re: [RFC PATCH 00/28] Linux Kernel Library

2015-11-07 Thread Octavian Purdila
On Sat, Nov 7, 2015 at 2:35 AM, Richard Weinberger wrote: > Am 04.11.2015 um 15:15 schrieb Octavian Purdila: >> We could redefine the syscalls/libc symbols to call lkl_sys_ functions >> in launch-lkl, e.g.: >> >> int opendir(const char *path) >> { >>return lkl_opendir(new_path) >> } > > To

Re: [RFC PATCH 19/28] lkl tools: host lib: virtio block device

2015-11-07 Thread Octavian Purdila
On Sat, Nov 7, 2015 at 2:24 PM, Richard Weinberger wrote: > On Tue, Nov 3, 2015 at 9:20 PM, Octavian Purdila > wrote: >> Host independent implementation for virtio block devices. The host >> dependent part of the host library must provide an implementation for >> lkl_dev_block_ops. >> >> Disks

ERROR: "spmi_register_read" [drivers/base/regmap/regmap-spmi.ko] undefined!

2015-11-07 Thread kbuild test robot
Hi Eduardo, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ce5c2d2c256a4c8b523036537cd6be2d6af8f69d commit: cb7fb4d342023d03070fcc1ed73fcd43682973d7 thermal: qcom_spmi: allow compile test date: 8 weeks ago

Re: [RFC PATCH 21/28] lkl tools: host lib: posix host operations

2015-11-07 Thread Octavian Purdila
On Sun, Nov 8, 2015 at 1:16 AM, Arnd Bergmann wrote: > On Tuesday 03 November 2015 22:20:52 Octavian Purdila wrote: >> +struct pthread_sem { >> + pthread_mutex_t lock; >> + int count; >> + pthread_cond_t cond; >> +}; >> + >> +static void *sem_alloc(int count) >> +{ >> + struct

Re: [RFC PATCH 08/28] lkl: system call interface and application API

2015-11-07 Thread Octavian Purdila
On Sun, Nov 8, 2015 at 1:24 AM, Arnd Bergmann wrote: > On Tuesday 03 November 2015 22:20:39 Octavian Purdila wrote: >> + >> +/* >> + * Unsupported system calls due to lack of support in LKL (e.g. related to >> + * virtual memory, signal, user processes). We also only support 64bit >> version >>

Re: [BUG, PATCH 03/10] sysfs: added __compat_only_sysfs_link_entry_to_kobj()

2015-11-07 Thread Jeremiah Mahler
Jarkko, On Sun, Nov 08, 2015 at 02:49:06AM +0200, Jarkko Sakkinen wrote: > On Sat, Nov 07, 2015 at 03:11:47PM -0800, Jeremiah Mahler wrote: > > Jarkko, > > [...] > > > > It sounds like you have the problem figured out and have a good fix. > > If I can do anything else to help let me know :-) >

Re: [PATCH] bpf: doc: correct arch list for supported eBPF JIT

2015-11-07 Thread Alexei Starovoitov
On Fri, Nov 06, 2015 at 09:38:58PM -0800, Yang Shi wrote: > aarch64 and s390x support eBPF JIT too, correct document to reflect this and > avoid any confusion. > > Signed-off-by: Yang Shi Thanks Acked-by: Alexei Starovoitov -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] arm64: bpf: fix JIT stack setup

2015-11-07 Thread Alexei Starovoitov
On Fri, Nov 06, 2015 at 09:36:17PM -0800, Yang Shi wrote: > ARM64 JIT used FP (x29) as eBPF fp register, but FP is subjected to > change during function call so it may cause the BPF prog stack base address > change too. Whenever, it pointed to the bottom of BPF prog stack instead of > the top. >

Re: [RFC] namei: prevent sgid-hardlinks for unmapped gids

2015-11-07 Thread Theodore Ts'o
On Fri, Nov 06, 2015 at 09:05:57PM -0800, Kees Cook wrote: > They're certainly not used early enough -- we need to remove suid when > the page becomes writable via mmap (wp_page_shared), not when > writeback happens, or at least not only when writeback happens. > >>> > >>> Well, I'm

[PATCH 1/2] staging: sm750fb: move opening brace to previous line

2015-11-07 Thread Othmar Pasteka
Fixes the checkpatch.pl error: ERROR: that open brace { should be on the previous line Signed-off-by: Othmar Pasteka --- drivers/staging/sm750fb/sm750_cursor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/sm750fb/sm750_cursor.c

[PATCH 2/2] staging: sm750fb: add spaces around operator

2015-11-07 Thread Othmar Pasteka
checkpatch.pl says: CHECK: spaces preferred around that '+' (ctx:VxV) Signed-off-by: Othmar Pasteka --- drivers/staging/sm750fb/sm750_cursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c

Re: [PATCH] bpf: doc: correct arch list for supported eBPF JIT

2015-11-07 Thread Daniel Borkmann
On 11/07/2015 06:38 AM, Yang Shi wrote: aarch64 and s390x support eBPF JIT too, correct document to reflect this and avoid any confusion. Signed-off-by: Yang Shi Acked-by: Daniel Borkmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [BUG, PATCH 03/10] sysfs: added __compat_only_sysfs_link_entry_to_kobj()

2015-11-07 Thread Jarkko Sakkinen
On Sat, Nov 07, 2015 at 03:11:47PM -0800, Jeremiah Mahler wrote: > Jarkko, > > On Sun, Nov 08, 2015 at 12:31:09AM +0200, Jarkko Sakkinen wrote: > > On Sat, Nov 07, 2015 at 10:08:56AM -0800, Jeremiah Mahler wrote: > > > Jarkko, > > > > > > On Sat, Nov 07, 2015 at 01:41:37PM +0200, Jarkko Sakkinen

Re: ERROR: "crc32c" [drivers/md/raid456.ko] undefined!

2015-11-07 Thread Guenter Roeck
On Sun, Nov 08, 2015 at 07:41:31AM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: ad804a0b2a769a0eed29015c53fe395449c09d13 > commit: 5cb2fbd6ea0d151dcb12d98c06c8761eedfed2ee raid5-cache: use crc32c > checksum >

BUSINESS PROPOSAL!

2015-11-07 Thread zhongjun
Good day, I need a foreign partner for a mutual business proposal ,which relates to the transfer of a large sum of money to a foreign account, as the recipient of the funds. Everything about this transaction will be done legally without any bridge of financial authority both in my Country

Re: [PATCH v2 04/19] irqchip: add nps Internal and external irqchips

2015-11-07 Thread Thomas Gleixner
Noam, On Sat, 7 Nov 2015, Noam Camus wrote: > >From: Thomas Gleixner > >> + write_aux_reg(AUX_IENABLE, ienb); > > >I can see how that works for per cpu interrupts, but what happens if > >two cpus run that concurrent for two different interrupts? > > Each CPU got its own HW copy of

[GIT PULL] IO poll support

2015-11-07 Thread Jens Axboe
Hi Linus, Various groups have been doing experimentation around IO polling for (really) fast devices. The code has been reviewed and has been sitting on the side for a few releases, but this is now good enough for coordinated benchmarking and further experimentation. Currently O_DIRECT sync

ERROR: "crc32c" [drivers/md/raid456.ko] undefined!

2015-11-07 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ad804a0b2a769a0eed29015c53fe395449c09d13 commit: 5cb2fbd6ea0d151dcb12d98c06c8761eedfed2ee raid5-cache: use crc32c checksum date: 7 days ago config: arm-sa1100 (attached as .config) reproduce: wget

Re: GSO with udp_tunnel_xmit_skb

2015-11-07 Thread Maciej Żenczykowski
> What I was thinking about is this: My driver receives a super-packet. > By calling skb_gso_segment(), I'm given a list of equal sized packets > (of gso_size each), except for the last one which is either the same > size or smaller than the rest. Let's say calling skb_gso_segment() > gives me a

Re: [RFC PATCH 08/28] lkl: system call interface and application API

2015-11-07 Thread Arnd Bergmann
On Tuesday 03 November 2015 22:20:39 Octavian Purdila wrote: > + > +/* > + * Unsupported system calls due to lack of support in LKL (e.g. related to > + * virtual memory, signal, user processes). We also only support 64bit > version > + * of system calls where we have two version to keep the same

Re: [PATCH v2 1/4] Crypto: Crypto driver support aes/des/des3 for rk3288

2015-11-07 Thread Heiko Stuebner
Hi Zain, looks like my comment on v1 came later than your v2 submission, so here it is again :-) Am Freitag, 6. November 2015, 09:17:21 schrieb Zain Wang: > The names registered are: > ecb(aes) cbc(aes) ecb(des) cbc(des) ecb(des3_ede) cbc(des3_ede) > You can alloc tags above in your case. >

Re: [RFC PATCH 21/28] lkl tools: host lib: posix host operations

2015-11-07 Thread Arnd Bergmann
On Tuesday 03 November 2015 22:20:52 Octavian Purdila wrote: > +struct pthread_sem { > + pthread_mutex_t lock; > + int count; > + pthread_cond_t cond; > +}; > + > +static void *sem_alloc(int count) > +{ > + struct pthread_sem *sem; > + > + sem = malloc(sizeof(*sem)); > + if

Re: [PATCH v2 0/9] Better compatible for the rockchip thermal and support RK3368 SoCs

2015-11-07 Thread Heiko Stuebner
Hi Caesar, Am Samstag, 7. November 2015, 23:53:30 schrieb Caesar Wang: > 在 2015年11月07日 03:03, Heiko Stuebner 写道:[] > > [] > > > I call dibs on the devicetree patches :-) . > > > > Code and dt parts are very much separate, so I'd like to take the dt parts > > though my tree and arm-soc to

Re: [BUG, PATCH 03/10] sysfs: added __compat_only_sysfs_link_entry_to_kobj()

2015-11-07 Thread Jeremiah Mahler
Jarkko, On Sun, Nov 08, 2015 at 12:31:09AM +0200, Jarkko Sakkinen wrote: > On Sat, Nov 07, 2015 at 10:08:56AM -0800, Jeremiah Mahler wrote: > > Jarkko, > > > > On Sat, Nov 07, 2015 at 01:41:37PM +0200, Jarkko Sakkinen wrote: > > > On Sat, Nov 07, 2015 at 12:55:43PM +0200, Jarkko Sakkinen wrote:

Re: GSO with udp_tunnel_xmit_skb

2015-11-07 Thread Jason A. Donenfeld
Hi Maciej, Thanks for your reply. Some interesting things to consider here... See inline below. On Sat, Nov 7, 2015 at 6:19 PM, Maciej Żenczykowski wrote: > > UFO will never collapse multiple (UDP) packets. > > It would be incorrect to do so, since UDP has to maintain packet > framing

Re: [BUG, PATCH 03/10] sysfs: added __compat_only_sysfs_link_entry_to_kobj()

2015-11-07 Thread Jarkko Sakkinen
On Sat, Nov 07, 2015 at 10:08:56AM -0800, Jeremiah Mahler wrote: > Jarkko, > > On Sat, Nov 07, 2015 at 01:41:37PM +0200, Jarkko Sakkinen wrote: > > On Sat, Nov 07, 2015 at 12:55:43PM +0200, Jarkko Sakkinen wrote: > > > On Fri, Nov 06, 2015 at 06:55:18PM -0800, Jeremiah Mahler wrote: > > > >

  1   2   3   4   5   6   7   >