Hi,
include/scsi/scsi.h defines scsi_to_u32 function like this:
static inline u32 scsi_to_u32(u8 *ptr)
But the definition of u8 is protected by ifdef __KERNEL__ in asm/types.h hence
this whole function should be procted as well. This fixes compilation of
cdrtools with latest kernel-headers GIT tree.
Signed-off-by: Ismail Donmez <[email protected]>