summaryrefslogtreecommitdiffstats
path: root/drivers/char/bsr.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-11-24 22:40:25 +0100
committerJason Gunthorpe <jgg@nvidia.com>2021-11-25 18:29:06 +0100
commit967a578af0c6d0c6c50ee5f9c48216cd2eebe4ef (patch)
tree6b372e9de78fb1b64643487c6032e778f7769db4 /drivers/char/bsr.c
parentRDMA/cxgb4: Use bitmap_zalloc() when applicable (diff)
downloadlinux-967a578af0c6d0c6c50ee5f9c48216cd2eebe4ef.tar.xz
linux-967a578af0c6d0c6c50ee5f9c48216cd2eebe4ef.zip
RDMA/cxgb4: Use bitmap_set() when applicable
The 'alloc->table' bitmap has just been allocated, so this is safe to use the faster and non-atomic 'bitmap_set()' function. There is no need to hand-write it. Link: https://lore.kernel.org/r/fd978b837935ed04863ffecfd495c4601a986df6.1637789139.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/char/bsr.c')
0 files changed, 0 insertions, 0 deletions