[systemd-devel] Patch: only use uint8_t for state flag

Lennart Poettering lennart at poettering.net
Thu Mar 15 12:54:32 PDT 2012


On Thu, 15.03.12 18:11, Frederic Crozat (fcrozat at suse.com) wrote:

> Hi,
> 
> while reviewing sparse warnings on journal, I found state flag from
> journal was sometime stored in uint32_t and even changed endianness,
> though its storing type in journal on disk in uint8_t.

I am still very open to merge proper sparse support into our tree, so
that it is easy to run sparse on systemd from time to time.

> Attached patch make sure uint8_t is used in a consistent manner.

Thanks a lot! Applied!

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list