|
drivers/media/video: correct initialization of audio_mode
|
| |
...This initialization of the value of audio_mode is the one used if nothing matches in the subsequent switch. The variable audio_mode is subsequently assigned to constants such as TUNER_AUDIO_MONO and TUNER_AUDIO_STEREO. TUNER_AUDIO_STEREO has the same value as V4L2_TUNER_MODE_STEREO, so it would seem better to use that value here.... more »
|
|
perf tools: Fix permission checks
|
| |
The perf_event_open() system call returns EACCES if the user is not root which results in a very confusing error message: $ perf record -A -a -f Error: perfcounter syscall returned with -1 (Permission denied) Fatal: No CONFIG_PERF_EVENTS=y kernel support configured? It turns out that's because perf tools are checking only for EPERM. Fix that up... more »
|
|
Use DMA_BIT_MASK(32) instead of deprecated DMA_32BIT_MASK
|
| |
Hi all, Use DMA_BIT_MASK(32) instead of deprecated DMA_32BIT_MASK Signed-off-by: Marin Mitov <mi...@issp.bas.bg> ============================== =========================== --- sound/soc/s6000/s6000-pcm.c.or ig 2009-11-08 17:49:09.000000000 +0200 +++ sound/soc/s6000/s6000-pcm.c 2009-11-08 17:50:56.000000000 +0200... more »
|
|
Use DMA_BIT_MASK(44) instead of deprecated DMA_44BIT_MASK
|
| |
Hi all, Use DMA_BIT_MASK(44) instead of deprecated DMA_44BIT_MASK Signed-off-by: Marin Mitov <mi...@issp.bas.bg> ============================== =========================== --- a/drivers/net/niu.c 2009-11-08 17:09:40.000000000 +0200 +++ b/drivers/net/niu.c 2009-11-08 17:10:31.000000000 +0200 @@ -45,10 +45,6 @@... more »
|
|
trivial: fix checking socket() in net tstamp example
|
| |
Signed-off-by: Ali Gholami Rudi <a...@rudi.ir> --- .../networking/timestamping/ti mestamping.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/networking/tim estamping/timestamping.c b/Documentation/networking/tim estamping/timestamping.c index a7936fe..bab619a 100644... more »
|
|
x86,ioapic: use snrpintf while set names for IO-APIC resourses
|
| |
We should be ready that one day MAX_IO_APICS may raise its number. To prevent memory overwrite we're to use safe snprintf while set IO-APIC resourse name. Signed-off-by: Cyrill Gorcunov <gorcu...@openvz.org> --- arch/x86/kernel/apic/io_apic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)... more »
|
|
x86,apic: Use PAGE_SIZE instead of numbers
|
| |
The whole page is reserved for IO-APIC fixmap due to non-cacheable requirement. So lets note this explicitly instead of playing with numbers. CC: Yinghai Lu <ying...@kernel.org> CC: "Maciej W. Rozycki" <ma...@linux-mips.org> Signed-off-by: Cyrill Gorcunov <gorcu...@openvz.org> --- Perhaps I miss something and (4 * 1024) have some special... more »
|
|
extend print_fatal_signals for reached RLIMIT_SIGPENDING
|
| |
When the system has too many timers or too many aggregate queued signals, the EAGAIN error is returned to application from kernel, including timer_create(). It means that exceeded limit of pending signals at all. But we can't imagine it. This patch show the message when reached limit of pending signals... more »
|
|
hw-breakpoints: Rewrite on top of perf events v6
|
| |
Ingo, Please pull the tracing/hw-breakpoints branch that can be found at: git://git.kernel.org/pub/scm/l inux/kernel/git/frederic/rando m-tracing.git tracing/hw-breakpoints Changes in v6: - Fix wrong header inclusion in trace.h (triggered a build error with CONFIG_FTRACE_SELFTEST) - Currently, events scheduling are done in this order: cpu context... more »
|
|
|