lkml.org 
[lkml]   [2006]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/7] tpm: chip struct update
    Kylene Jo Hall <kjhall@us.ibm.com> wrote:
    >
    > + dev_mask[chip->dev_num / TPM_NUM_MASK_ENTRIES] &=
    > + ~(1 << (chip->dev_num % TPM_NUM_MASK_ENTRIES));

    If you were to make dev_mask[] an array of longs, this could perhaps become

    clear_bit(dev_mask, chip->dev_num);

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

    \
     
     \ /
      Last update: 2006-04-11 00:53    [W:2.895 / U:0.376 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site