From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 705C4C43613 for ; Fri, 21 Jun 2019 09:01:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 42D8920673 for ; Fri, 21 Jun 2019 09:01:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726229AbfFUJBX (ORCPT ); Fri, 21 Jun 2019 05:01:23 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:40784 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726210AbfFUJBW (ORCPT ); Fri, 21 Jun 2019 05:01:22 -0400 Received: by mail-qt1-f195.google.com with SMTP id a15so6150365qtn.7; Fri, 21 Jun 2019 02:01:22 -0700 (PDT) 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=4HzRDcacmGtqmGfE244Fy6uOAK8PIsDaZn0yNCgG68w=; b=WC4ldDEqh98+jAK2BHEm6qqEMG9dtnaGvDu3ntwspsgB00CmgLUBlCt7EDfZd2KOMy ap8r+bTKn2gTmbE5DVHCYrIIZCAkxSvZz8wcj28ckx/Xj35J0u8KcqSmAPnCMnjX+EH4 6eDgOJZJ58IpRi8JKwcXX81iA1ZvLQKPmoqZBYo697zFqkHZmSOvi2yISRyz0f5iZDfT ts1wzluzC77gTqvHrNNY80yLsaW+11DwID26tNFBOEcrFOFe1Rbu4udL/dxmgoCrAG56 1Uhv96QUXp15dlQG+7w78hS3LnSucMLMVznZSFKExvKF8mVxsO4G3XOIq/btiADuX6+Q DfIg== X-Gm-Message-State: APjAAAUj8xhDtmMArrAMdIJKN82uVEBzoyfuVhhy3qo0RYPVDG0VWgM3 YdWty6fteiMjYnl3s/S/QtJvvsRZdLqCi6VAIb8= X-Google-Smtp-Source: APXvYqz2Q7BuEoztoQTk2y/k79111s2N2dTh7un3E/p/9yKUTVgU6nYSZUxZoOhohB0/YOF1w6kvgu0HzqpoPMsRoUY= X-Received: by 2002:aed:33a4:: with SMTP id v33mr81342975qtd.18.1561107681874; Fri, 21 Jun 2019 02:01:21 -0700 (PDT) MIME-Version: 1.0 References: <20190617131918.2518727-1-arnd@arndb.de> In-Reply-To: From: Arnd Bergmann Date: Fri, 21 Jun 2019 11:01:01 +0200 Message-ID: Subject: Re: [PATCH] dmaengine: dw-edma: fix __iomem type confusion To: Gustavo Pimentel Cc: Vinod Koul , Dan Williams , Andy Shevchenko , Russell King , Joao Pinto , "dmaengine@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On Fri, Jun 21, 2019 at 10:53 AM Gustavo Pimentel wrote: > > > > static struct dentry *base_dir; > > static struct dw_edma *dw; > > -static struct dw_edma_v0_regs *regs; > > +static struct dw_edma_v0_regs __iomem *regs; > > Shouldn't the __iomem be next to dw_edma_v0_regs instead of the variable > name? I saw other drivers putting the __iomem next to the variable type, > therefore I assume it's the typical coding style. Yes, that seems more common indeed. Do you want to fix up both patches yourself when you apply them or should I send a new version? Arnd