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 f49dcd1 commit 864b23fCopy full SHA for 864b23f
arch/x86/platform/uv/tlb_uv.c
@@ -1804,9 +1804,9 @@ static void pq_init(int node, int pnode)
1804
1805
plsize = (DEST_Q_SIZE + 1) * sizeof(struct bau_pq_entry);
1806
vp = kmalloc_node(plsize, GFP_KERNEL, node);
1807
- pqp = (struct bau_pq_entry *)vp;
1808
- BUG_ON(!pqp);
+ BUG_ON(!vp);
1809
+ pqp = (struct bau_pq_entry *)vp;
1810
cp = (char *)pqp + 31;
1811
pqp = (struct bau_pq_entry *)(((unsigned long)cp >> 5) << 5);
1812
0 commit comments