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
Unknown Object (File)
Mon, Jul 27, 8:19 AM
Unknown Object (File)
Tue, Jul 21, 12:02 AM
Unknown Object (File)
Sat, Jul 18, 10:20 AM
Unknown Object (File)
Tue, Jul 7, 6:03 AM
Unknown Object (File)
Jun 21 2026, 12:10 AM
Unknown Object (File)
Jun 16 2026, 1:47 PM
Unknown Object (File)
Jun 13 2026, 2:56 AM
Unknown Object (File)
Jun 12 2026, 7:04 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.