NetBSD-Bugs archive

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

kern/60136: makedev(3) is still saying major is 0-255



>Number:         60136
>Category:       kern
>Synopsis:       makedev(3) is still saying major is 0-255
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 26 11:05:00 +0000 2026
>Originator:     YAMAMOTO Takashi
>Release:        11.0 rc1
>Organization:
>Environment:
>Description:
makedev(3) says:

RETURN VALUES
     The major() macro returns a device major number that has a value between
     0 and 255.  The minor() macro returns a device minor number whose value
     can span the complete range of an int.

but we actually have major > 255.
>How-To-Repeat:

>Fix:
stop specifying the value range?




Home | Main Index | Thread Index | Old Index