HomeFreeBSD

MFC r298732:

Description

MFC r298732:
sys/devfs: unsign an index to prevent signed integer overflow.

cdp_maxdirent in struct:cdev_priv is of type u_int. Use the same
type for the corresponding index in devfs_revoke().

Details

Provenance
pfgAuthored on
Parents
rS299106: MFC r298732:
Branches
Unknown
Tags
Unknown