Large block device patch, part 1 of 9
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · H. Peter Anvin
While we're talking about
printk()... is there any reason *not* to rename itprintf()?
kprintf would be better, maybe addind the first argument for verbosity level, instead of being "inlined" in the string. But it is a 2.7 change!
ciao
giacomo
Quoted 3 lines · Giacomo Catenazzi
kprintf would be better
Why? We don't have, say, kstrcpy() or ksscanf() for other functions that are library-equivalent.
-hpa
Quoted 8 lines · H. Peter Anvin
Quoted 4 lines · Giacomo Catenazzi
kprintf would be better
Why? We don't have, say,
kstrcpy()orksscanf()for other functions that are library-equivalent.
k to remember people that it is not the std function, thus not a write to the standard output. I see more like fprintf (file) and [v]sprintf (string), we write to a special buffer ("klog").
But if we don't move the verbosity level out of string, also the simple 'printf' would be fine.
ciao
giacomo