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
F168603986: D21348.id61067.diff
Sat, Aug 29, 5:40 AM
Unknown Object (File)
Sat, Aug 22, 8:54 AM
Unknown Object (File)
Fri, Aug 21, 3:27 PM
Unknown Object (File)
Thu, Aug 20, 5:00 PM
Unknown Object (File)
Thu, Aug 20, 1:40 AM
Unknown Object (File)
Wed, Aug 19, 3:39 PM
Unknown Object (File)
Wed, Aug 19, 11:36 AM
Unknown Object (File)
Tue, Aug 18, 8:05 PM
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.