Page MenuHomeFreeBSD

makefs: use `char *` not `void *` for buf b_data and drop casts from msdos
ClosedPublic

Authored by emaste on Aug 20 2019, 9:57 PM.
Tags
None
Referenced Files
F155026126: D21348.id.diff
Thu, Apr 30, 6:42 PM
Unknown Object (File)
Tue, Apr 28, 11:06 PM
Unknown Object (File)
Tue, Apr 28, 5:31 PM
Unknown Object (File)
Tue, Apr 28, 5:27 PM
Unknown Object (File)
Tue, Apr 28, 5:00 PM
Unknown Object (File)
Tue, Apr 28, 12:19 AM
Unknown Object (File)
Mon, Apr 27, 4:58 PM
Unknown Object (File)
Fri, Apr 24, 6:39 AM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

You've build-checked this, right? makefs/ffs has some casts of b_data to larger structure types, which are totally valid for void* but compilers may warn about casting from a lower-alignment type like char to a larger alignment type.

This revision is now accepted and ready to land.Aug 20 2019, 10:03 PM

You've build-checked this, right?

Yes on amd64.