Re: [PATCH v3 7/8] debugfs: allow access to signed values

From: Johannes Berg
Date: Wed Dec 19 2007 - 11:00:53 EST



> +static u64 debugfs_s8_get(void *data)


> struct simple_attr {
> - u64 (*get)(void *);
> + unsigned long long (*get)(void *);

That seems wrong. Wouldn't you have to declare all the _get functions
with unsigned long long too now to avoid trouble on systems where u64 !=
unsigned long long?

johannes

Attachment: signature.asc
Description: This is a digitally signed message part