summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/hal/files/sg-inhibit.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-07 10:53:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-12 14:12:10 +0100
commit2cf9fb4df498fe0e4fa8356dc663fdfdec9a98cc (patch)
tree411508c9d098cd199dcb6d129031d9904b8ee7b0 /meta/recipes-support/hal/files/sg-inhibit.patch
parentb04b8a4e4d720df61e3294781236890e1ab91748 (diff)
downloadpoky-2cf9fb4df498fe0e4fa8356dc663fdfdec9a98cc.tar.gz
hal/hal-info: This is unsed in OE-Core and deprecated, drop
(From OE-Core rev: 72c010af2c0fe967a5cacc7fbdba75c3ea3e5c3a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/hal/files/sg-inhibit.patch')
-rw-r--r--meta/recipes-support/hal/files/sg-inhibit.patch26
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 @@
1Upstream-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 }