lkml.org 
[lkml]   [1999]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectQUESTION about devices.c

    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/

    \
     
     \ /
      Last update: 2005-03-22 13:51    [W:0.017 / U:29.628 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site