diff options
Diffstat (limited to 'meta/recipes-support/hal/files/sg-inhibit.patch')
| -rw-r--r-- | meta/recipes-support/hal/files/sg-inhibit.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/meta/recipes-support/hal/files/sg-inhibit.patch b/meta/recipes-support/hal/files/sg-inhibit.patch deleted file mode 100644 index c655c29896..0000000000 --- a/meta/recipes-support/hal/files/sg-inhibit.patch +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | Upstream-Status: Pending | ||
| 2 | |||
| 3 | --- hal-0.5.9.1/hald/linux/probing/linux_dvd_rw_utils.c.old 2007-08-03 17:24:12.000000000 +0100 | ||
| 4 | +++ hal-0.5.9.1/hald/linux/probing/linux_dvd_rw_utils.c 2007-08-03 17:25:06.000000000 +0100 | ||
| 5 | @@ -58,6 +58,10 @@ | ||
| 6 | |||
| 7 | #include "linux_dvd_rw_utils.h" | ||
| 8 | |||
| 9 | +#if defined(SG_FLAG_UNUSED_LUN_INHIBIT) | ||
| 10 | +# define SG_FLAG_LUN_INHIBIT SG_FLAG_UNUSED_LUN_INHIBIT | ||
| 11 | +#endif | ||
| 12 | + | ||
| 13 | typedef enum { | ||
| 14 | NONE = CGC_DATA_NONE, // 3 | ||
| 15 | READ = CGC_DATA_READ, // 2 | ||
| 16 | @@ -153,8 +153,8 @@ | ||
| 17 | errno = EIO; | ||
| 18 | ret = -1; | ||
| 19 | if (cmd->sg_io.masked_status & CHECK_CONDITION) { | ||
| 20 | - CREAM_ON_ERRNO (cmd->sg_io.sbp); | ||
| 21 | - ret = ERRCODE (cmd->sg_io.sbp); | ||
| 22 | + CREAM_ON_ERRNO ((char*)cmd->sg_io.sbp); | ||
| 23 | + ret = ERRCODE ((char*)cmd->sg_io.sbp); | ||
| 24 | if (ret == 0) | ||
| 25 | ret = -1; | ||
| 26 | } | ||
