Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/hid



In article <20200308140933.1B842FB28%cvs.NetBSD.org@localhost>,
SAITOH Masanobu <source-changes-d%NetBSD.org@localhost> wrote:
>-=-=-=-=-=-
>
>Module Name:	src
>Committed By:	msaitoh
>Date:		Sun Mar  8 14:09:33 UTC 2020
>
>Modified Files:
>	src/sys/dev/hid: hid.h
>
>Log Message:
>Use unsigned to avoid undefined behavior. Found by kUBSan.

I think it is better to add U to all the HUP_ constants for consistency.
It looks funny this way.

christos



Home | Main Index | Thread Index | Old Index