[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200610211302.08574.ismail@pardus.org.tr>
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