Skip to content

Commit ffb57ee

Browse files
tititiou36broonie
authored andcommitted
regmap: Fix the type used for a bitmap pointer
Bitmaps should be defined as 'unsigned long', not 'long'. Fix the type of 'cache_present' is the 'struct regcache_rbtree_node'. Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/5600df5003d23da10efcfafbda97ca55776d0d29.1689960321.git.christophe.jaillet@wanadoo.fr Signed-off-by: Mark Brown <[email protected]>
1 parent 9c214af commit ffb57ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/base/regmap/regcache-rbtree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ struct regcache_rbtree_node {
2222
/* block of adjacent registers */
2323
void *block;
2424
/* Which registers are present */
25-
long *cache_present;
25+
unsigned long *cache_present;
2626
/* base register handled by this block */
2727
unsigned int base_reg;
2828
/* number of registers available in the block */

0 commit comments

Comments
 (0)