aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/bitmap.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-10-22 16:05:13 +0200
committerLinus Walleij <linus.walleij@linaro.org>2019-10-22 16:05:13 +0200
commit3bf864e2507aae0bb24c1a360f409b4a746abd2b (patch)
treef12db6bec93568284f8fa37f6c6c7808f5392a91 /include/linux/bitmap.h
parentpinctrl: sprd: Add CM4 sleep mode support (diff)
parentLinux 5.4-rc4 (diff)
Merge tag 'v5.4-rc4' into devel
Linux 5.4-rc4
Diffstat (limited to 'include/linux/bitmap.h')
-rw-r--r--include/linux/bitmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h
index 90528f12bdfa..29fc933df3bf 100644
--- a/include/linux/bitmap.h
+++ b/include/linux/bitmap.h
@@ -326,10 +326,11 @@ static inline int bitmap_equal(const unsigned long *src1,
}
/**
- * bitmap_or_equal - Check whether the or of two bitnaps is equal to a third
+ * bitmap_or_equal - Check whether the or of two bitmaps is equal to a third
* @src1: Pointer to bitmap 1
* @src2: Pointer to bitmap 2 will be or'ed with bitmap 1
* @src3: Pointer to bitmap 3. Compare to the result of *@src1 | *@src2
+ * @nbits: number of bits in each of these bitmaps
*
* Returns: True if (*@src1 | *@src2) == *@src3, false otherwise
*/