Skip to contentSkip to conversation

Clean up libelf endian macros and includes.

Xen-changelog Jimi Xenidis 2 participants 3 messages Jan 29, 2007 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

not sure if it matters, but off_t is a signed type? -JX

Quoted 4 lines · Xen patchbot-unstable

uint64_t elf_access_unsigned(struct elf_binary * elf, const void
*ptr,

(quoted diff) +1 -1
-			     off_t offset, size_t size)
+			     uint64_t offset, size_t size)
#2 lore raw

It's okay: the parameter is never negative.

-- Keir

Quoted 14 lines · Jimi Xenidis

not sure if it matters, but off_t is a signed type? -JX

Review

Quoted 4 lines · Xen patchbot-unstable

uint64_t elf_access_unsigned(struct elf_binary * elf, const void
*ptr,

(quoted diff) +1 -1
-        off_t offset, size_t size)
+        uint64_t offset, size_t size)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 1 line · Keir Fraser

It's okay: the parameter is never negative.

Its never bigger than 2GiB either :)
-JX

Quoted 25 lines

-- Keir

Quoted 10 lines · Jimi Xenidis

not sure if it matters, but off_t is a signed type? -JX

Review

Quoted 4 lines · Xen patchbot-unstable

uint64_t elf_access_unsigned(struct elf_binary * elf, const void
*ptr,

(quoted diff) +1 -1
-        off_t offset, size_t size)
+        uint64_t offset, size_t size)
Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel