Re: [LINUX-KERNEL] C++ in linux kernel

2008-02-11 Thread vignesh babu bm
http://www.vmware.com/download/server/open_source.html On Feb 11, 2008 5:07 PM, rohit h <[EMAIL PROTECTED]> wrote: > > On Feb 8, 2008 9:24 PM, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > > > On Feb 9 2008 00:14, Joonwoo Park wrote: > > >2008/2/8, rohit h <[EMAIL PROTECTED]>: > > >> Hi, > > >>

Re: [LINUX-KERNEL] C++ in linux kernel

2008-02-11 Thread vignesh babu bm
http://www.vmware.com/download/server/open_source.html On Feb 11, 2008 5:07 PM, rohit h [EMAIL PROTECTED] wrote: On Feb 8, 2008 9:24 PM, Jan Engelhardt [EMAIL PROTECTED] wrote: On Feb 9 2008 00:14, Joonwoo Park wrote: 2008/2/8, rohit h [EMAIL PROTECTED]: Hi, I am a kernel newbie.

Re: kmalloc() with size zero

2007-03-22 Thread Vignesh Babu BM
er null or an address. > > Jan > -- > - > To unsubscribe from this list: send the line "unsubscribe > linux-kernel" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the F

Re: kmalloc() with size zero

2007-03-22 Thread Vignesh Babu BM
-- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- Regards, Vignesh Babu BM

[KJ][PATCH] is_power_of_2 in fs/block_dev.c

2007-02-19 Thread Vignesh Babu BM
|| size < 512 || (size & (size-1))) + if (size > PAGE_SIZE || size < 512 || !is_power_of_2(size)) return -EINVAL; /* Size cannot be smaller than the size supported by the device */ -- Regards, Vignesh Babu BM

[KJ][PATCH] is_power_of_2 in fat

2007-02-19 Thread Vignesh Babu BM
;sec_per_clus)) { if (!silent) printk(KERN_ERR "FAT: bogus sectors per cluster %u\n", sbi->sec_per_clus); -- Regards, Vignesh Babu BM _ "Wh

[KJ][PATCH] is_power_of_2 in fs/hfs

2007-02-19 Thread Vignesh Babu BM
fail_page; if (!tree->node_count) goto fail_page; -- Regards, Vignesh Babu BM _ "Why is it that every time I'm with you, makes me believe in magic?" - To unsubscribe from this list: send the line &

[KJ][PATCH] is_power_of_2 in fat

2007-02-19 Thread Vignesh Babu BM
-sec_per_clus)) { if (!silent) printk(KERN_ERR FAT: bogus sectors per cluster %u\n, sbi-sec_per_clus); -- Regards, Vignesh Babu BM _ Why is it that every time I'm

[KJ][PATCH] is_power_of_2 in fs/hfs

2007-02-19 Thread Vignesh Babu BM
; if (!tree-node_count) goto fail_page; -- Regards, Vignesh Babu BM _ Why is it that every time I'm with you, makes me believe in magic? - To unsubscribe from this list: send the line unsubscribe linux-kernel

[KJ][PATCH] is_power_of_2 in fs/block_dev.c

2007-02-19 Thread Vignesh Babu BM
and PAGE_SIZE */ - if (size PAGE_SIZE || size 512 || (size (size-1))) + if (size PAGE_SIZE || size 512 || !is_power_of_2(size)) return -EINVAL; /* Size cannot be smaller than the size supported by the device */ -- Regards, Vignesh Babu BM

[KJ][PATCH] is_power_of_2 in ia64mm

2007-02-16 Thread Vignesh Babu BM
| !(tr_pages & size) || size <= PAGE_SIZE || size >= (1UL << PAGE_SHIFT << MAX_ORDER)) { printk(KERN_WARNING "Invalid huge page size specified\n"); -- Regards, Vignesh Babu BM

[KJ][PATCH] is_power_of_2 in ia64mm

2007-02-16 Thread Vignesh Babu BM
(size-1)) || !(tr_pages size) || + if (*str || !is_power_of_2(size) || !(tr_pages size) || size = PAGE_SIZE || size = (1UL PAGE_SHIFT MAX_ORDER)) { printk(KERN_WARNING Invalid huge page size specified\n); -- Regards, Vignesh Babu BM