lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Sat, 21 Oct 2006 13:02:07 +0300
From:	Ismail Donmez <ismail@...dus.org.tr>
To:	linux-kernel@...r.kernel.org
Cc:	David Woodhouse <dwmw2@...radead.org>
Subject: [PATCH] scsi/scsi.h protect scsi_to_u32 function by ifdef __KERNEL__

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 <ismail@...dus.org.tr>


View attachment "1.patch" of type "text/x-diff" (521 bytes)

Powered by blists - more mailing lists