lkml.org 
[lkml]   [2015]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 5/9] ARM: at91: add soc detection infrastructure
    On 05/03/2015 at 16:29:26 +0100, Alexander Stein wrote :
    > > + if (!regs) {
    > > + pr_warn("Could not map DBGU iomem range");
    > > + iounmap(regs);
    >
    > I guess if regs == NULL there is no need to iounmap them, no?
    >

    Indeed :)

    --
    Alexandre Belloni, Free Electrons
    Embedded Linux, Kernel and Android engineering
    http://free-electrons.com


    \
     
     \ /
      Last update: 2015-03-05 17:01    [W:4.421 / U:0.676 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site