diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-12-20 13:00:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-03 12:14:27 +0000 |
commit | f4e60ec827d574efdd74663c4904a7da51304fcc (patch) | |
tree | 43959cb13d4b1a13734dad04f79921316e8e8c19 /meta/recipes-core/udev/files/fix-alignment.patch | |
parent | a99a63959b2e91519a26ff6305729b1072e638fa (diff) | |
download | poky-f4e60ec827d574efdd74663c4904a7da51304fcc.tar.gz |
udev: drop 145 version
The 164 version has been the default version for some time and as we
don't have any clear reasoning to keep 145 around, we're removing it
now.
Some files were also removed as 164 recipe provides specific versions
of it and thus those were going to be unused.
(From OE-Core rev: 7376f027c39716561b513a70f6e7f86fb14df178)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/udev/files/fix-alignment.patch')
-rw-r--r-- | meta/recipes-core/udev/files/fix-alignment.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/meta/recipes-core/udev/files/fix-alignment.patch b/meta/recipes-core/udev/files/fix-alignment.patch deleted file mode 100644 index dfe21b6e96..0000000000 --- a/meta/recipes-core/udev/files/fix-alignment.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | diff --git a/udev_rules_parse.c b/udev_rules_parse.c | ||
4 | --- a/udev_rules_parse.c | ||
5 | +++ b/udev_rules_parse.c | ||
6 | @@ -241,6 +241,7 @@ static int add_to_rules(struct udev_rule | ||
7 | int valid; | ||
8 | char *linepos; | ||
9 | char *attr; | ||
10 | + size_t padding; | ||
11 | int retval; | ||
12 | |||
13 | /* get all the keys */ | ||
14 | @@ -506,6 +507,11 @@ static int add_to_rules(struct udev_rule | ||
15 | |||
16 | /* grow buffer and add rule */ | ||
17 | rule_size = sizeof(struct udev_rule) + rule->bufsize; | ||
18 | + padding = (sizeof(size_t) - rule_size % sizeof(size_t)) % sizeof(size_t); | ||
19 | + dbg("add %zi padding bytes", padding); | ||
20 | + rule_size += padding; | ||
21 | + rule->bufsize += padding; | ||
22 | + | ||
23 | rules->buf = realloc(rules->buf, rules->bufsize + rule_size); | ||
24 | if (!rules->buf) { | ||
25 | err("realloc failed"); | ||
26 | |||