Re: [IPCOMP] Fix false smp_processor_id warning

2005-08-18 Thread David S. Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Thu, 18 Aug 2005 21:46:10 +1000 > This patch fixes a false-positive from debug_smp_processor_id(). > > The processor ID is only used to look up crypto_tfm objects. > Any processor ID is acceptable here as long as it is one that is > iterated on by for_ea

[IPCOMP] Fix false smp_processor_id warning

2005-08-18 Thread Herbert Xu
Hi Dave: On Thu, Aug 18, 2005 at 12:23:38PM +1000, Herbert Xu wrote: > Ken-ichirou MATSUZAWA <[EMAIL PROTECTED]> wrote: > > > > It seems that because ipcomp_alloc_tfms() calls smp_processor_id(), > > but a comment says not need locking. Is this right? > > Yes the comment is right. I'll fix it u