bitops: Add a comment explaining the double underscore macros
authorDan Carpenter <dan.carpenter@linaro.org>
Tue, 11 Jun 2024 12:38:12 +0000 (15:38 +0300)
committerYury Norov <yury.norov@gmail.com>
Tue, 18 Jun 2024 17:40:53 +0000 (10:40 -0700)
commite0eeb938adb0367de4b0946125a06142d8de7d37
tree7c68b4127479cdc18cb65f8e9b696b20628a1e3a
parente334771d83ec14f755a554394162198a955e3faa
bitops: Add a comment explaining the double underscore macros

Linus Walleij pointed out that a new comer might be confused about the
difference between set_bit() and __set_bit().  Add a comment explaining
the difference.

Link: https://lore.kernel.org/all/CACRpkdZFPG_YLici-BmYfk9HZ36f4WavCN3JNotkk8cPgCODCg@mail.gmail.com/
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
include/linux/bitops.h