Hi, do anybody know about an SmPL which follows the description in include/linux/kfifo.h ?
>From >http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob_plain;f=include/linux/kfifo.h > : > /* > * Howto porting drivers to the new generic fifo API: > * > * - Modify the declaration of the "struct kfifo *" object into a > * in-place "struct kfifo" object > * - Init the in-place object with kfifo_alloc() or kfifo_init() > * Note: The address of the in-place "struct kfifo" object must be > * passed as the first argument to this functions > * - Replace the use of __kfifo_put into kfifo_in and __kfifo_get > * into kfifo_out > * - Replace the use of kfifo_put into kfifo_in_locked and kfifo_get > * into kfifo_out_locked > * Note: the spinlock pointer formerly passed to kfifo_init/kfifo_alloc > * must be passed now to the kfifo_in_locked and kfifo_out_locked > * as the last parameter. > * - All formerly name __kfifo_* functions has been renamed into kfifo_* > */ The history can be found here: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=history;f=include/linux/kfifo.h Currently I'm facing a problem where a file is compilable with 2.6.33-rc2, but no longer with 2.6.32 and below because the changes were already applied. I'm thinking about to revert the changes temporary so the file could be compilable with 2.6.32. Regards, Márton Németh _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
