From patchwork Mon Aug 17 08:10:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 7023861 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1ACF9C05AC for ; Mon, 17 Aug 2015 08:13:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 51A84205D1 for ; Mon, 17 Aug 2015 08:13:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3E38020561 for ; Mon, 17 Aug 2015 08:13:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753849AbbHQINw (ORCPT ); Mon, 17 Aug 2015 04:13:52 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:33414 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751609AbbHQINw (ORCPT ); Mon, 17 Aug 2015 04:13:52 -0400 Received: from 212095007050.public.telering.at ([212.95.7.50] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZRFYD-0002gj-UH; Mon, 17 Aug 2015 08:13:50 +0000 From: Christoph Hellwig To: Tomi Valkeinen , Jean-Christophe Plagniol-Villard Cc: linux-fbdev@vger.kernel.org Subject: [PATCH] ocfb: remove incorrect __iomem annotation Date: Mon, 17 Aug 2015 10:10:56 +0200 Message-Id: <1439799056-16509-1-git-send-email-hch@lst.de> X-Mailer: git-send-email 1.9.1 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make sparse happy: drivers/video/fbdev/ocfb.c:375:64: sparse: incorrect type in argument 3 (different address spaces) Signed-off-by: Christoph Hellwig --- drivers/video/fbdev/ocfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/ocfb.c b/drivers/video/fbdev/ocfb.c index de98196..97f11d2 100644 --- a/drivers/video/fbdev/ocfb.c +++ b/drivers/video/fbdev/ocfb.c @@ -62,7 +62,7 @@ struct ocfb_dev { int little_endian; /* Physical and virtual addresses of framebuffer */ dma_addr_t fb_phys; - void __iomem *fb_virt; + void *fb_virt; u32 pseudo_palette[PALETTE_SIZE]; };