Re: [git:v4l-dvb/v2.6.37] [media] Add driver for Siliconfile SR030PC30 VGA camera

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Em 18-10-2010 10:58, Sylwester Nawrocki escreveu:
>>
>> Hello Hans,
>>
>> On 10/17/2010 10:14 PM, Hans Verkuil wrote:
>>> On Sunday, October 17, 2010 21:28:29 Mauro Carvalho Chehab wrote:
>>>> This is an automatic generated email to let you know that the
>>>> following patch were queued at the
>>>> http://git.linuxtv.org/media_tree.git tree:
>>>>
>>>> Subject: [media] Add driver for Siliconfile SR030PC30 VGA camera
>>>> Author:  Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>
>>>> Date:    Mon Oct 11 13:33:57 2010 -0300
>>>>
>> [snip]
>>> It fails to compile with this error:
>>>
>>> drivers/media/video/sr030pc30.c: In function â??sr030pc30_probeâ??:
>>> drivers/media/video/sr030pc30.c:834: error: implicit declaration of
>>> function â??kzallocâ??
>>> drivers/media/video/sr030pc30.c:834: warning: assignment makes pointer
>>> from integer without a cast
>>> drivers/media/video/sr030pc30.c: In function â??sr030pc30_removeâ??:
>>> drivers/media/video/sr030pc30.c:858: error: implicit declaration of
>>> function â??kfreeâ??
>>>
>>> Here is the patch to fix this:
>> [snip]
>>> Signed-off-by: Hans Verkuil <hverkuil@xxxxxxxxx>
>>>
>>
>> Thank you for fixing this. I will definitely improve my test environment
>> so this kind of errors do not appear in the future.
>
> I suspect that, depending on what are compiled, slab.h is included on some
> cases, as,
> on my tests with allyesconfig, I didn't notice the need for slab.h.

For the record: this was a x86_64 compilation.

Regards,

          Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG, part of Cisco

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux