Re: [PATCH -mmotm] mm/memory-failure: remove stub function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Randy,

On Wed, 1 Jul 2020 08:47:30 -0700 Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> 
> This stub is no longer needed since the function is no longer
> inside an #ifdef/#endif block.
> 
> Fixes this build error:
> 
> ../mm/memory-failure.c:180:13: error: redefinition of ‘page_handle_poison’
> 
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: Oscar Salvador <osalvador@xxxxxxx>
> ---
>  mm/memory-failure.c |    4 ----
>  1 file changed, 4 deletions(-)
> 
> --- mmotm-2020-0630-2152.orig/mm/memory-failure.c
> +++ mmotm-2020-0630-2152/mm/memory-failure.c
> @@ -169,10 +169,6 @@ int hwpoison_filter(struct page *p)
>  	return 0;
>  }
>  
> -static bool page_handle_poison(struct page *page, bool hugepage_or_freepage, bool release)
> -{
> -	return true;
> -}
>  #endif
>  
>  EXPORT_SYMBOL_GPL(hwpoison_filter);

Added to linux-next today.

-- 
Cheers,
Stephen Rothwell

Attachment: pgpj0EtOfUEXb.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux