Re: [PATCH 7/8] fs: use get_unaligned_* helpers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stefan Richter
Date: Friday, May 2, 2008 - 4:40 am

Harvey Harrison wrote:
...

Why the double parentheses?

More importantly, I would say ldm.c should rather use
get_unaligned_be*() directly.  No need to hide what these macros are
about by using a local alias.

After that, ldm.c should be inspected for whether really all of the
accesses are unaligned.  If there are any which are guaranteed to be
aligned, they should of course be turned into be*_to_cpu().  But
separately from this conversion to get_unaligned_be*().
-- 
Stefan Richter
-=====-==--- -=-= ---=-
http://arcgraph.de/sr/
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 7/8] fs: use get_unaligned_* helpers, Harvey Harrison, (Thu May 1, 8:52 pm)
Re: [PATCH 7/8] fs: use get_unaligned_* helpers, Stefan Richter, (Fri May 2, 4:40 am)
Re: [PATCH 7/8] fs: use get_unaligned_* helpers, Harvey Harrison, (Fri May 2, 11:17 am)