misc NULL noise removal
PATCH 1/1 misc NULL noise removal
Signed-off-by Al Viro <[email protected]>
--- arch/i386/mm/pageattr.c | 2 +- drivers/char/watchdog/machzwd.c | 2 +- drivers/kvm/mmu.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
arch/i386/mm/pageattr.c +1 -1
@@ -224,7 +224,7 @@ void global_flush_tlb(void)list_replace_init (&df_list, &l);spin_unlock_irq (&cpa_lock);if (!cpu_has_clflush) -flush_map (0 ); +flush_map (NULL );list_for_each_entry_safe (pg, next, &l, lru) {if (cpu_has_clflush)flush_map (page_address (pg));
drivers/char/watchdog/machzwd.c +1 -1
@@ -325,7 +325,7 @@ static int zf_ioctl(struct inode *inode, struct file *file, unsigned int cmd,return put_user (0 , p);case WDIOC_KEEPALIVE : -zf_ping (0 ); +zf_ping (NULL );break ;default :
drivers/kvm/mmu.c +1 -1
@@ -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) ; desc->shadow_ptes[i] = desc->shadow_ptes[j]; - desc->shadow_ptes[j] =0 ; + desc->shadow_ptes[j] =NULL ;if (j !=0 )return ;if (!prev_desc && !desc->more)
Signature · 1 line
1.5.0-rc2.GIT