All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Kylene Jo Hall <kjhall@us.ibm.com>
Cc: linux-kernel@vger.kernel.org, tpmdd-devel@lists.sourceforge.net
Subject: Re: [PATCH 3/7] tpm: chip struct update
Date: Mon, 10 Apr 2006 14:50:30 -0700	[thread overview]
Message-ID: <20060410145030.0b719e18.akpm@osdl.org> (raw)
In-Reply-To: <1144679828.4917.11.camel@localhost.localdomain>

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);


  reply	other threads:[~2006-04-10 22:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-10 14:37 [PATCH 3/7] tpm: chip struct update Kylene Jo Hall
2006-04-10 21:50 ` Andrew Morton [this message]
2006-04-11 22:42   ` [PATCH] tpm: use clear_bit Kylene Jo Hall
2006-04-11 23:02     ` Andrew Morton
2006-04-11 23:21       ` Andrew Morton
2006-04-12 21:47       ` [PATCH] tpm: use find_first_zero_bit Kylene Jo Hall
  -- strict thread matches above, loose matches on Subject: below --
2006-04-03 16:42 [PATCH 3/7] tpm: chip struct update Kylene Jo Hall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060410145030.0b719e18.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=kjhall@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tpmdd-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.