lkml.org 
[lkml]   [2022]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 09/11] s390: mm: Convert to GENERIC_IOREMAP
> +void __iomem *
> +arch_ioremap(phys_addr_t *paddr, size_t size, unsigned long *prot_val)
> {
> if (!static_branch_unlikely(&have_mio))
> + return (void __iomem *) *paddr;
> + return NULL;

This logic isn't new in the patch, but it could really use a comment
as it is rather non-obvious.

\
 
 \ /
  Last update: 2022-08-21 09:06    [W:1.978 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site