[PATCH v6 1/2] Documentation: kdump: remind user of nr_cpus

2016-08-14 Thread Zhou Wenjian
nr_cpus can help to save memory. So we should remind user of it. Signed-off-by: Zhou Wenjian Acked-by: Baoquan He --- Documentation/kdump/kdump.txt | 2 +++- 1 file changed, 2 insertions(+) diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt index 88ff63d..96da2b7 100644

[PATCH v6 2/2] Documentation: kdump: add description of enable multi-cpus support

2016-08-14 Thread Zhou Wenjian
multi-cpu support is useful to improve the performance of kdump in some cases. So add the description of enable multi-cpu support in dump-capture kernel. Signed-off-by: Zhou Wenjian Acked-by: Baoquan He --- Documentation/kdump/kdump.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a

[PATCH v6 0/2] update the doc of kdump

2016-08-14 Thread Zhou Wenjian
v5->v6: replace "we" with "you" v4->v5: move change log to cover letter v3->v4: update the description of bring up SMP dump-capture kernel v2->v3: add description of nr_cpus. v1->v2: change nr_cpus to maxcpus Zhou Wenjian (2): Documentation: kdump: remind user of nr_cpus Documentation: kdump:

Re: [PATCH] CodingStyle: Clarify and complete chapter 7

2016-08-14 Thread Jonathan Corbet
On Sun, 14 Aug 2016 13:12:33 -0700 Mark D Rustad wrote: > >> + err: > >>kfree(foo->bar); > >>kfree(foo); > >>return ret; > >> > >> The bug in this code is that on some exit paths "foo" is NULL. Normally > >> the > > > > ...except that kfree() can handle

Re: [PATCH] CodingStyle: Clarify and complete chapter 7

2016-08-14 Thread Mark D Rustad
Jonathan Corbet wrote: On Mon, 25 Jul 2016 14:29:06 +0200 Jean Delvare wrote: Chapter 7 (Centralized exiting of functions) of the coding style documentation is unclear at times, and lacks some information (such as the possibility to indent labels with a single space.) Clarify and complete it

Re: [PATCH] CodingStyle: Remove "Don't use C99-style comments"

2016-08-14 Thread Joe Perches
On Sun, 2016-08-14 at 12:09 -0700, Randy Dunlap wrote: > I like it, but like Linus said, we don't want people to send > patches just to "fix" the comment style. Just fyi, checkpatch makes no recommendation about converting single line comments to //. And it shouldn't in my opinion. -- To unsubsc

Re: [PATCH] CodingStyle: Remove "Don't use C99-style comments"

2016-08-14 Thread Randy Dunlap
On 08/14/16 11:35, Jonathan Corbet wrote: > On Thu, 04 Aug 2016 10:55:14 -0700 > Joe Perches wrote: > >>> Because Linus may still be reading source code on greenbar paper >>> instead of color terminals with code syntax highlighting and >>> appropriate font decorations. >>> >>> Link: >>> http://l

Re: [PATCH] CodingStyle: Remove "Don't use C99-style comments"

2016-08-14 Thread Joe Perches
On Sun, 2016-08-14 at 12:35 -0600, Jonathan Corbet wrote: > On Thu, 04 Aug 2016 10:55:14 -0700 Joe Perches wrote: > > > Because Linus may still be reading source code on greenbar paper > > > instead of color terminals with code syntax highlighting and > > > appropriate font decorations. > > > > >

Re: [PATCH] CodingStyle: Remove "Don't use C99-style comments"

2016-08-14 Thread Jonathan Corbet
On Thu, 04 Aug 2016 10:55:14 -0700 Joe Perches wrote: > > Because Linus may still be reading source code on greenbar paper > > instead of color terminals with code syntax highlighting and > > appropriate font decorations. > > > > Link: > > http://lkml.kernel.org/r/ca+55afyqyjerovmssosks7pesszbr

Re: [PATCH] CodingStyle: Clarify and complete chapter 7

2016-08-14 Thread Jonathan Corbet
On Mon, 25 Jul 2016 14:29:06 +0200 Jean Delvare wrote: > Chapter 7 (Centralized exiting of functions) of the coding style > documentation is unclear at times, and lacks some information (such > as the possibility to indent labels with a single space.) Clarify and > complete it. OK, I've applied

Re: [PATCH] doc-rst: customize RTD theme, drop padding of inline literal

2016-08-14 Thread Jonathan Corbet
On Fri, 5 Aug 2016 11:27:07 +0200 Hans Verkuil wrote: > On 08/05/2016 11:19 AM, Markus Heiser wrote: > > From: Markus Heiser > > > > Remove the distracting (left/right) padding of inline literals. (HTML > > ). Requested and discussed in [1]. > > > > [1] http://www.spinics.net/lists/linux-media

Re: [PATCH v2] Documentation: clk: update file names containing referenced structures

2016-08-14 Thread Jonathan Corbet
On Fri, 12 Aug 2016 14:41:25 +0200 Geert Uytterhoeven wrote: > From: Andi Shyti > > Commit 'b09d6d991' removes include/linux/clk-private.h and > re-arranges the clock related structures contained in it in > different files. The documentation has not been updated > accordingly, thus it wasn't an

Re: [PATCH 0/7] doc-rst: sphinx sub-folders & parseheaders directive

2016-08-14 Thread Jonathan Corbet
On Sat, 13 Aug 2016 16:12:41 +0200 Markus Heiser wrote: > this series is a consolidation on Jon's docs-next branch. It merges the > "sphinx > sub-folders" patch [1] and the "parseheaders directive" patch [2] on top of > Jon's docs-next. > > In sense of consolidation, it also includes: > > * d

[PATCH v2 1/3] usb: gadget: f_uac2: remove platform driver/device creation

2016-08-14 Thread Ruslan Bilovol
Simplify f_uac2 by removing platform driver/device creation; use composite's usb_gadget device as parent for sound card and for debug prints. This removes extra layer of code without any functional change. Signed-off-by: Ruslan Bilovol --- drivers/usb/gadget/function/f_uac2.c | 107 +

[PATCH v2 3/3] usb: gadget: add f_uac1 variant based on new u_audio api

2016-08-14 Thread Ruslan Bilovol
This patch adds new function f_uac1_newapi that uses recently created u_audio api. This makes f_uac1_newapi implementation much simpler by reusing existing u_audio core utilities. This also drops previous f_uac1 approach (write audio samples directly to existing ALSA sound card) and moves to more

[PATCH v2 2/3] usb: gadget: f_uac2: split out audio core

2016-08-14 Thread Ruslan Bilovol
Abstract the peripheral side ALSA sound card code from the f_uac2 function into a component that can be called by various functions, so the various flavors can be split apart and selectively reused. Visible changes: - add uac_params structure to pass audio paramteres for gaudio_setup - make A

[PATCH v2 0/3] USB Audio Gadget refactoring

2016-08-14 Thread Ruslan Bilovol
I came to this patch series when wanted to do two things: - use UAC1 as virtual ALSA sound card on gadget side, just like UAC2 is used so it's possible to do rate resampling - have both playback/capture support in UAC1 Since I wanted to have same behavior for both UAC1/UAC2, obviously I've

Re: [PACTH v2 0/3] Implement /proc//totmaps

2016-08-14 Thread Michal Hocko
On Fri 12-08-16 18:04:19, robert.f...@collabora.com wrote: > From: Robert Foss > > This series implements /proc/PID/totmaps, a tool for retrieving summarized > information about the mappings of a process. The changelog is absolutely missing the usecase. Why do we need this? Why existing interfac