QUESTION about devices.c

Konstantyn Prokopenko (kproko@analogic.com)
Wed, 7 Apr 1999 17:11:03 -0400 (EDT)


Hello.

I've got a question about function register_chrdev in
/usr/src/linux/fs/devices.c file.
In line 135 of the function register_chrdev
there is a logical operator &&:

if(chrdevs[major].fops && chrdevs[major].fops != fops)
^^
Is it supposed to be a bitwise operator &? Am I correct?

Thank you.

Sincerely,

K.V.P

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/