mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
[PATCH] misc NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
8b6d44c7bd
commit
11718b4d6b
3 changed files with 3 additions and 3 deletions
|
@ -224,7 +224,7 @@ void global_flush_tlb(void)
|
||||||
list_replace_init(&df_list, &l);
|
list_replace_init(&df_list, &l);
|
||||||
spin_unlock_irq(&cpa_lock);
|
spin_unlock_irq(&cpa_lock);
|
||||||
if (!cpu_has_clflush)
|
if (!cpu_has_clflush)
|
||||||
flush_map(0);
|
flush_map(NULL);
|
||||||
list_for_each_entry_safe(pg, next, &l, lru) {
|
list_for_each_entry_safe(pg, next, &l, lru) {
|
||||||
if (cpu_has_clflush)
|
if (cpu_has_clflush)
|
||||||
flush_map(page_address(pg));
|
flush_map(page_address(pg));
|
||||||
|
|
|
@ -325,7 +325,7 @@ static int zf_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
|
||||||
return put_user(0, p);
|
return put_user(0, p);
|
||||||
|
|
||||||
case WDIOC_KEEPALIVE:
|
case WDIOC_KEEPALIVE:
|
||||||
zf_ping(0);
|
zf_ping(NULL);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -333,7 +333,7 @@ static void rmap_desc_remove_entry(struct kvm_vcpu *vcpu,
|
||||||
for (j = RMAP_EXT - 1; !desc->shadow_ptes[j] && j > i; --j)
|
for (j = RMAP_EXT - 1; !desc->shadow_ptes[j] && j > i; --j)
|
||||||
;
|
;
|
||||||
desc->shadow_ptes[i] = desc->shadow_ptes[j];
|
desc->shadow_ptes[i] = desc->shadow_ptes[j];
|
||||||
desc->shadow_ptes[j] = 0;
|
desc->shadow_ptes[j] = NULL;
|
||||||
if (j != 0)
|
if (j != 0)
|
||||||
return;
|
return;
|
||||||
if (!prev_desc && !desc->more)
|
if (!prev_desc && !desc->more)
|
||||||
|
|
Loading…
Reference in a new issue