added kfifo macros to avoid double-copying in dnt900_local_drain_fifo
tidied up attributes