All of lore.kernel.org
 help / color / mirror / Atom feed
From: walter harms <wharms@bfs.de>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] argument type of generic_fls()
Date: Sat, 13 Aug 2005 13:42:59 +0000	[thread overview]
Message-ID: <42FDF8E3.5010403@bfs.de> (raw)

hi list,
after the log2 discussion i was looking for log2 in kernel. i found 
long_log2() in page_alloc.c. What the author actualy wanted was fls().
To my confusion the generic_fls() searches only 32 bit but has an 
argument of type int (i would expect uint32).
Will it create confusion with 64bit int systems ? if anyone considers 
these a problem i would add a flsl() function and replace the int with 
uint32.

re
	walter
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

             reply	other threads:[~2005-08-13 13:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-13 13:42 walter harms [this message]
2005-08-13 14:12 ` [KJ] argument type of generic_fls() Adrian Bunk

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=42FDF8E3.5010403@bfs.de \
    --to=wharms@bfs.de \
    --cc=kernel-janitors@vger.kernel.org \
    /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.