Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4816522ybg; Tue, 29 Oct 2019 12:50:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyHcJCIE/DcuhicDLpeA3x6YjhM3x2bveZwxBPBSiv9FQpQ+sv9CIA8rpFVb+tuhGAkiSA X-Received: by 2002:a17:906:5004:: with SMTP id s4mr5240362ejj.26.1572378616024; Tue, 29 Oct 2019 12:50:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572378616; cv=none; d=google.com; s=arc-20160816; b=v8pcRwsghrT/uhlPz9Y/mCdTe4jjbZzk5O7zc137O1cZciorh/VekZO41NEMjSa6WI X4oBAwqeFRXulb0/pOUWLFciCHw85wYN/a6/ExRVVqD/KZ15scDEXuKI4sx5yUv5fclo KMkvKt3yttlf378UCkQKh1/lMIWClMRx4DDoAmTDsdVzvEnMfSdvgGme9oFu+GyA/OKz OEc+QAwTSYYvqp3QeprW5vH54r88zAXyNN4jvZ+Y9DYlVIQvxuA7eAzJmVe2ZZGmr31i HMDVxRxGerwzJFqiU/5Ue5hllX3s+jKcML63c7/uYxc71P0AS7VEA/MdaOeQFc8vGjce farQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=MioPHoHmZiJDkwtAxq/VI9F9tLNtqLzlol+i1u7r8fA=; b=m7WQyozOqJSLaqgTRnDlurGAmVdf3DTIe2ZzEQM+CPzLntJomdjxSRspGP5AplVWEA NnK/8RzA8BdTujDjsol9goGFFOLAgQ8vygStM+XPsnMDAarZtGnn+i9iX+dUvQVFpOk0 xGBy0dbJpWn5wIRo6/TVhyuK2QUI5XXh+z3dGAUyY+b0QVdkp752VnLtjQU4Vzjh++gf qbxdUz/T9cANKUh+rA+/PB1wXZea9X1vWlKyfGdQ8xs7zSMf8qB5rdlOJ+h6j41JdBFW n5owEOem/PK7qkWo4CWlLSeBpW2/UfBfCSpgXcI4QtnuEeg+uwBrxBFufzsg3Ve8Lcir 3OPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oBddjUwb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y8si8849084eje.59.2019.10.29.12.49.52; Tue, 29 Oct 2019 12:50:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oBddjUwb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728019AbfJ2RkU (ORCPT + 99 others); Tue, 29 Oct 2019 13:40:20 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:38621 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726377AbfJ2RkU (ORCPT ); Tue, 29 Oct 2019 13:40:20 -0400 Received: by mail-ot1-f67.google.com with SMTP id r14so5738054otn.5 for ; Tue, 29 Oct 2019 10:40:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MioPHoHmZiJDkwtAxq/VI9F9tLNtqLzlol+i1u7r8fA=; b=oBddjUwbYuu4Lj3WVOqQL7mkyQMLeydeOVhksSLQRwe9Gir8Z4rWNR8jmLZshyqsmr /1yiueyFie5VvPJe/Q4QgS42MgJEgn9ZA8J4Ji2+x7vDNVyhxNfnT8zf6RJWL3YYYvlJ fXTuOlFGMXUyRIrC8dRLduwQ8vAstTWyOwJgD2Rnshy+cbZJsv17mEk9jozie5x7OCd/ fak4Ujm7FgA2hP54yAMo6n4SJeh6V/iHkkAIBhcP1cZYOprBLFv3CxQuaiuNv7pBEtqG Gr9j9dasGtqQ3pR3heFnkqmYmkoKPRP8qa+NsIwHanpqw9tM2mih8uIb+JX0J6EoVq1o 8l6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MioPHoHmZiJDkwtAxq/VI9F9tLNtqLzlol+i1u7r8fA=; b=YomGSQtGc9n7sK3qqrVAAyjs039Zn0bfeGKQlNaavlINYVly7dRlqQPR5eRp5lq36L hXto0ERKEwhAdAvWn2QjvOeSGYOYqGIv3v5TmB2IYRJG3dPZ7O43m3w4acLkslHGloQf oloiEyg2Dla7YFngYWJc//LQMoLeQFAPqCUV2f1qQrGu3pGm9BySu70koPiMJesS9Y0D kz8vMtvY9rglqp4DFNMyGN5p0mGbqj6FzaWtcKqlnY91B5OtxdJHU91OrMFen4z5A/01 Sg9gBumKAqBGYpLzOSB8e4Wx/HmyMdZ0ipPktSb+Me5EWXsjaaCHRnxlHU3ovnURahBF jDvg== X-Gm-Message-State: APjAAAVj9H7NK+Vey1lOkxqO3qhq91jBzcRZrDYfVmRHHFm7nke6G6NS 8j1axgaXSk6YY5f4213pnvWzxXVyKQDIOlWGX08= X-Received: by 2002:a9d:630c:: with SMTP id q12mr7925015otk.332.1572370819510; Tue, 29 Oct 2019 10:40:19 -0700 (PDT) MIME-Version: 1.0 References: <20191026235214.GA11702@cristiane-Inspiron-5420> In-Reply-To: <20191026235214.GA11702@cristiane-Inspiron-5420> From: Sven Van Asbroeck Date: Tue, 29 Oct 2019 13:40:08 -0400 Message-ID: Subject: Re: [PATCH] staging: fieldbus: anybuss: use devm_platform_ioremap_resource helper To: Cristiane Naves Cc: outreachy-kernel@googlegroups.com, Greg Kroah-Hartman , devel@driverdev.osuosl.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 26, 2019 at 7:52 PM Cristiane Naves wrote: > > Use devm_platform_ioremap_resource helper which wraps > platform_get_resource() and devm_ioremap_resource() together. Issue > found by coccicheck. > > Signed-off-by: Cristiane Naves > --- > drivers/staging/fieldbus/anybuss/arcx-anybus.c | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) > Reviewed-by: Sven Van Asbroeck Tested-by: Sven Van Asbroeck Greg has already queued this patch, but the link embedded in his commit message should point people here.