We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44732f1 commit 38f7e14Copy full SHA for 38f7e14
kernel/workqueue.c
@@ -897,7 +897,7 @@ static struct worker_pool *get_work_pool(struct work_struct *work)
897
898
static unsigned long shift_and_mask(unsigned long v, u32 shift, u32 bits)
899
{
900
- return (v >> shift) & ((1 << bits) - 1);
+ return (v >> shift) & ((1U << bits) - 1);
901
}
902
903
static void work_offqd_unpack(struct work_offq_data *offqd, unsigned long data)
0 commit comments