Merge tag 'v3.14.25' into backport/v3.14.24-ltsi-rc1+v3.14.25/snapshot-merge.wip
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / staging / ktap / samples / ffi / printk.kp
1 cdef[[
2         int printk(char *fmt, ...);
3 ]]
4
5
6 C.printk("This is printed out by ffi\n")
7 C.printk("Show me the %s\n", "code")
8 C.printk("%s should be at %02d/%02d %02d:%02d:%02d\n", "New Year", 1, 1, 0, 0, 0)
9 C.printk("\'a\' + 5 = \'%c\'\n", 95 + 5)
10 C.printk("The string is located at 0x%p\n", "str")