From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2) Description of problem: As following, "major" should be 12-bit, and "minor" should be 20- bit. mmmm mmmm mmmm MMMM MMMM MMMM mmmm mmmm But I find that âkudzu-1.1.36-1â uses structure dev_t and the operation in file pcmcia.c: 385 dev = (pcmcia_major<<8) + sock If sock is greater than 256, it may has problem. So I suggest useing macro makedev (in <include/sys/sysmacros.h>) to create device number. Version-Release number of selected component (if applicable): kudzu-1.1.36-1 How reproducible: Didn't try Additional info:
The code is: static int open_sock(int sock) { dev_t dev = (pcmcia_major<<8) + sock; It's called as: for (ns = 0; ns < 8; ns++) { fd = open_sock(ns); Ergo, it really can't happen.
But I think that if ns is larger than 256, It may have problem. So I suggest useing macro makedev (in <include/sys/sysmacros.h>) to create device number.
See that code snipped. ns is NEVER anything other than between 0 and 8.