From patchwork Mon Feb 1 23:26:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 374294 Delivered-To: patch@linaro.org Received: by 2002:a17:906:24d5:0:0:0:0 with SMTP id f21csp4333829ejb; Mon, 1 Feb 2021 15:28:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTqGosUGs7HhWGxVgbI/dqMPNFVQUEVhz3xLNhUVxGwgfJYzHIu5IIwn7xLxpcXKNg8cRP X-Received: by 2002:a17:906:8053:: with SMTP id x19mr9986221ejw.470.1612222109113; Mon, 01 Feb 2021 15:28:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612222109; cv=none; d=google.com; s=arc-20160816; b=UcWg1zpqvaIx0qFd2Uarx5Twzdl+JpFshC38jOGEUaLH3KpVAicK9/FdRdpoIH+Yh2 0Nmy59WbT4kf0K1SJFgRwNk2kY9jflqxAWuaaA9HzQoDuQO/DjHkdUBUD+VMse4gwWof 4pRwcKkesuNjLZAjbfK0+B0OkD+5UgTyE8I16k0AtWqNfc/QOwlPxa8k8SjUs7c2MdfU s3xYl2LmiZIo5gIJbKm0otm1U1IAh2AOvVgfDUO5fght64te5IX6GRiL7PYJMxAosIMi xSWfJz/uzExV5W1J23T1KwIQH/J3xDMZAqiKfl67hPaAuF5tDHL1it/NG40qSE4LeF2b XXfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Lc/k5K9QUyP48nZxgWZukJoyJ65VbtFetvLAJEaMjJg=; b=IPVYvTW710EeQbHxX68+s0knSZpvkyGQqy7aJl9KI5G3cWO0nsAnrPuBf8Ne1k1nig zJZ2xMtQzvNrJC2kEjzm6mrr20uDOu7d5f6CU6nXnRq3ljso23EOj/fssl6lMmrQsh3x GLZXmYqNyBmGCFbGa6pbwGfpvZpsJRCrRpd8YdR/F/s3Af/YWw2XQRQWbtBTkdRSRNSN V9USyeP0Vyr4R83FOINYOenx1wIdLGw8ht9ZZtyIkU7mYpI0qwDAdeT4q3NjqKBIDmqX +0er8Yjr5kliUEGw33oZ1YhuTfc8h4t9mhZZvdqdJKWNZzJOerdPG0nFVT6UE5u39xc1 stEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QS+709Ti; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q8si230299edg.20.2021.02.01.15.28.28; Mon, 01 Feb 2021 15:28:29 -0800 (PST) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QS+709Ti; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231335AbhBAX11 (ORCPT + 7 others); Mon, 1 Feb 2021 18:27:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231258AbhBAX0y (ORCPT ); Mon, 1 Feb 2021 18:26:54 -0500 Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0E1DC061756 for ; Mon, 1 Feb 2021 15:26:14 -0800 (PST) Received: by mail-io1-xd2d.google.com with SMTP id h11so19316825ioh.11 for ; Mon, 01 Feb 2021 15:26:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Lc/k5K9QUyP48nZxgWZukJoyJ65VbtFetvLAJEaMjJg=; b=QS+709Ti8z2gOlzrId8etHfiB6R62SANk4U1CHSaRcCSJdHGaWF8H5D4ZVNL7LwxlD 8U/AMcARtH4vh6q6k6DbR5ut/Kbg4upYgeY2SCSS8JotI6JcYnUkikr375tUilMM8NwC TInh2poMgo76eVbV0XrsXPe3uJbET31f8c9hqM8rwmDesQF8Z5wwSXte2oeCvqgnUwlI xmyCW8ll23UGYs1HkBfIFHkrM4HXNS6ZRcbkAX61c3RihXUVJO60iq5r/9mZO9FzHMS5 iHC7ln/zUAmTUrJJQbYJrGMHNC3FME8nq1Bbgci2Q2ZZtOukNVDG+qFb0jcjnCsMk0p7 3ZSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Lc/k5K9QUyP48nZxgWZukJoyJ65VbtFetvLAJEaMjJg=; b=M9f1YhxgQ5wzfebP1Thb+TmxGjLqpbsc7NIaakAFkARDp1WYyyC45Ah4OStNeT3rKm HqTk4XKSrR29VPVWnK6jgqK1I2ZGaRP/cch4JQjEUwtPyyJW3wOtK3polY+X2F+bKIfa gNVFkQGd4uVBl00r6lbxr8Cj6evgsshVPaOJX7rVPl2FP7O0XftRkk8+VX0IAVWXJY31 kYufZClDh+WGddz3oaryzP2yAwa3m/4uq+ZNDCcIPNJ2Y9kDHMRHEB0EW/809phVc3Do soEpKZqtxQ7TEHNjbXLabzg9UMR9fgDmvyBXsf9bYh2Cw8WEENKtQJKqRoK/adlvmhmx EpHw== X-Gm-Message-State: AOAM532zazNYxWAAcPW7FL4qlIutHRAF7EPWkaNmdmYlEJacnWr+8p3i u3ct+s3Qe898KH/EQB3oCEEraw== X-Received: by 2002:a02:caaa:: with SMTP id e10mr16083799jap.102.1612221974236; Mon, 01 Feb 2021 15:26:14 -0800 (PST) Received: from presto.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id v18sm10359588ila.29.2021.02.01.15.26.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Feb 2021 15:26:13 -0800 (PST) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org Cc: elder@kernel.org, evgreen@chromium.org, bjorn.andersson@linaro.org, cpratapa@codeaurora.org, subashab@codeaurora.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net 1/4] net: ipa: add a missing __iomem attribute Date: Mon, 1 Feb 2021 17:26:06 -0600 Message-Id: <20210201232609.3524451-2-elder@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210201232609.3524451-1-elder@linaro.org> References: <20210201232609.3524451-1-elder@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The virt local variable in gsi_channel_state() does not have an __iomem attribute but should. Fix this. Signed-off-by: Alex Elder --- drivers/net/ipa/gsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 Reviewed-by: Amy Parker diff --git a/drivers/net/ipa/gsi.c b/drivers/net/ipa/gsi.c index 14d9a791924bf..e2e77f09077a9 100644 --- a/drivers/net/ipa/gsi.c +++ b/drivers/net/ipa/gsi.c @@ -440,7 +440,7 @@ static void gsi_evt_ring_de_alloc_command(struct gsi *gsi, u32 evt_ring_id) static enum gsi_channel_state gsi_channel_state(struct gsi_channel *channel) { u32 channel_id = gsi_channel_id(channel); - void *virt = channel->gsi->virt; + void __iomem *virt = channel->gsi->virt; u32 val; val = ioread32(virt + GSI_CH_C_CNTXT_0_OFFSET(channel_id));