media: vb2-dma-contig: fix sizeof(pointer) allocation

2016-07-27 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan --- drivers/media/v4l2-core/videobuf2-dma-contig.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/media/v4l2-core/videobuf2-dma-contig.c +++ b/drivers/media/v4l2-core/videobuf2-dma-contig.c @@ -749,7 +749,7 @@ EXPORT_SYMBOL_GPL

Re: [PATCH v2 1/1] headers: fix circular dependency between linux/sched.h and linux/wait.h

2011-02-21 Thread Alexey Dobriyan
On Mon, Feb 21, 2011 at 06:06:02PM +0100, Peter Zijlstra wrote: > 1) remove the inclusion of completion.h -- easy we can live with an > incomplete type. ACK > 2) move the other wait_queue_head_t users (signal_struct sighand_struct) > out of sched.h > > 3) ... Compile test! :^) > 4) profit! >

Re: [PATCH 1/1] headers: fix circular dependency between linux/sched.h and linux/wait.h

2011-02-21 Thread Alexey Dobriyan
On Mon, Feb 21, 2011 at 2:30 PM, Felipe Balbi wrote: > On Mon, Feb 21, 2011 at 01:05:51PM +0200, Alexey Dobriyan wrote: >> Just include in your driver. >> This include splitting in small pieces is troublesome as well. > > so, simply to call wake_up*() we need to know e

Re: [PATCH 1/1] headers: fix circular dependency between linux/sched.h and linux/wait.h

2011-02-21 Thread Alexey Dobriyan
On Mon, Feb 21, 2011 at 12:20 PM, David Cohen wrote: > Currently sched.h and wait.h have circular dependency between both. > wait.h defines macros wake_up*() which use macros TASK_* defined by > sched.h. But as sched.h indirectly includes wait.h, such wait.h header > file can't include sched.h too

Re: [PATCH -next] media: fix em28xx build, needs interrupt.h

2010-12-07 Thread Alexey Dobriyan
On Tue, Dec 07, 2010 at 10:38:15AM -0800, Randy Dunlap wrote: > From: Randy Dunlap > > drivers/media/video/em28xx/em28xx-vbi.c:49: error: implicit declaration of > function 'in_interrupt' > +#include It's defined in hardirq.h. -- To unsubscribe from this list: send the line "unsubscribe linux

Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316

2010-06-13 Thread Alexey Dobriyan
On Sun, Jun 13, 2010 at 01:57:40PM -0600, Grant Likely wrote: > On brief review, they look like completely different issues. I doubt > the second patch will fix the flexcop-pci issue. It will, see how name wht slashes propagated by request_irq() -- To unsubscribe from this list: send the line "un

Re: [git:v4l-dvb/master] af_key: fix netns ops ordering on module load/unload

2010-03-06 Thread Alexey Dobriyan
On Sat, Mar 06, 2010 at 03:27:06PM +0100, Patch from Alexey Dobriyan wrote: > From: Alexey Dobriyan > > 1. After sock_register() returns, it's possible to create sockets, >even if module still not initialized fully (blame generic module code >for that!) > 2. Con

[PATCH] proc_fops: convert cpia

2009-11-22 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan --- drivers/media/video/cpia.c | 211 ++--- 1 file changed, 104 insertions(+), 107 deletions(-) --- a/drivers/media/video/cpia.c +++ b/drivers/media/video/cpia.c @@ -32,6 +32,7 @@ #include #include #include +#include