Re: How to measure performance inside Kernel?

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



Hi :)

On Tue, Feb 14, 2012 at 06:13, Peter Senna Tschudin
<peter.senna@xxxxxxxxx> wrote:
> bufs is an array of pointers to struct vb2_buffer. I was not able to
> use your kmalloc code. I get incompatible types errors when trying it.
> Any ideas?

Hmmm, okay I admit I am not that good in C....

How about, casting the kmalloc result to void first?


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Networking]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

Add to Google Powered by Linux