sys/nfs/nfs_common.h defines a macro nfsm_aligned() to test if a particular address is sufficiently aligned for the architecture. It does this by casting the address to u_long. For portability, it should cast to intptr_t. The existing code will fail on an architecture with strict alignment where sizeof(void *) > sizeof(u_long) Fix: The following (untested) patch should work How-To-Repeat: Code inspection
Responsible Changed From-To: freebsd-bugs->eadler simple enough - take
Responsible Changed From-To: eadler->freebsd-bugs I won't be looking at this PR for a while and I need to clear some out of my queue
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>