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=-6.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_NEOMUTT 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 3B8B1C10F0E for ; Sun, 7 Apr 2019 22:22:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 07D5920863 for ; Sun, 7 Apr 2019 22:22:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Eg2h+yN9"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=lixom-net.20150623.gappssmtp.com header.i=@lixom-net.20150623.gappssmtp.com header.b="hSRdVvj5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 07D5920863 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lixom.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OzEk6e0buIqg8WUxRxgCVLZSl1np9KbKJK/o2hV+Bdg=; b=Eg2h+yN9nHIczV quj1D8fReKmUycOoNDZ73X00vs6rFzGBQ0ezh572nvvlhTQ0NGJEZuO9zgM6PbjmAqLlpKeDLMgqj N1YayLaluD9B5D/Bkgagz+5ubKrS4z+LzAewqCOBvo9jbsINnHrp3UOo3GMsKH90xzerDJWBklJXb aKjtEB/dma2qJs0Hv3b2K3t44sOwDgfXj23IYK7htPu3k3PkxkYqvMeFNClhGwI6ZZvUqNYM9gtrB nZyZ8i/5Ph3n3hgNwXqkgavm4RwyxT3W0jAFr2iDySpgXRwOiLDX0BGskBQltGE0mhriR1BGEflAH Ctu4Cub8T89jhDsvLQQA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDGAs-0004NG-O7; Sun, 07 Apr 2019 22:22:02 +0000 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDG9q-0002zD-A0 for linux-arm-kernel@lists.infradead.org; Sun, 07 Apr 2019 22:21:03 +0000 Received: by mail-lj1-x242.google.com with SMTP id p14so9475814ljg.5 for ; Sun, 07 Apr 2019 15:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=u+knILwqONfTtrEbzP1i0u78HwzBda5GqrFsEzNbHPQ=; b=hSRdVvj5oBE9U5X4lQsFlQ4k1i6PJv4ij4UK2HTdsbIHYJnu9FQkpUWxamv4pi6D3k aJW1PfHEvMDDal4cK8Ovcj29bfVXpV8GvyFPa0OjG9LqcgXsZ9ygrU0LxAbnwwmsz//f /lIu/EJnhV6h9OIHDVOPH0ZoGMXUM+x1jzOrDqL293WTpIZG7o2AQAB/EFSnGf4Nc1A3 5Fnt9H6wooi45UZe+SEaSCQ4vvwLIN6EdnZM67OXSNaJVAlx/+34EsPWVVVxTr1MJL3O ZIAvljtDze5mFkVj/iFfQrSsnsywbxbM/Jvfe0gw8SiRl5qK0mFDjenBbjsDjFJ88D9W hVCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=u+knILwqONfTtrEbzP1i0u78HwzBda5GqrFsEzNbHPQ=; b=QQKno8EIJSs2ZQ6ikRcMKdE7uasVHzCUdTUDl0J+KmvTvRHmpvIRImD+4wT/w/xaQ5 bI+fXlw374NAplxI5/8JRa13gaIRxeiMGimrSRQ1g0yTPbJINku62HF4sYvdTjhU4SJe rfJoS4GFjRvx8lCl0kOIOZCrzmtVzUTB6RRfIJRgvaBoibXl5ywP3N7zErjsJLjyNbg7 C0Sqi8cnf4e5o9oOUQH1+51rTQ2d2ZdbuPcjo7t2/hBnxTPcA8Eak9Lhn+w9M3lG1rmb hzduC2eU0xJhkWY6J3IeaM3pMhqXp6xUWrGs2PQLQ54WXfPzAmRJx5sTv2sjPcENrQnM imCg== X-Gm-Message-State: APjAAAWSP7t75QNg2AHkNk0MKDEnjTmmTAq885jUKpreZXSeaniLKIDN tigdDMHz67+1JAZ0GnDkCM4e/w/1HYPJ6w== X-Google-Smtp-Source: APXvYqwMZxO3i1uQTRQsSuF4q1SphJuYCgZO5jDR6BYnOU8GcmWa/RlK7vb4rP/F9a1XiWDrzaZNcw== X-Received: by 2002:a2e:9d12:: with SMTP id t18mr13565346lji.163.1554675656654; Sun, 07 Apr 2019 15:20:56 -0700 (PDT) Received: from localhost (h85-30-9-151.cust.a3fiber.se. [85.30.9.151]) by smtp.gmail.com with ESMTPSA id f15sm6138442ljm.47.2019.04.07.15.20.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 07 Apr 2019 15:20:55 -0700 (PDT) Date: Sun, 7 Apr 2019 15:20:12 -0700 From: Olof Johansson To: Arnd Bergmann Subject: Re: [PATCH 2/2] ARM: iop: don't use using 64-bit DMA masks Message-ID: <20190407222012.cqbo64w6mmtdfr6i@localhost> References: <20190325155101.3544731-1-arnd@arndb.de> <20190325155101.3544731-2-arnd@arndb.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190325155101.3544731-2-arnd@arndb.de> User-Agent: NeoMutt/20170113 (1.7.2) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190407_152058_772156_7ED863C1 X-CRM114-Status: GOOD ( 11.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nick Desaulniers , Russell King , linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, arm@kernel.org, Nathan Chancellor , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Mar 25, 2019 at 04:50:43PM +0100, Arnd Bergmann wrote: > clang warns about statically defined DMA masks from the DMA_BIT_MASK > macro with length 64: > > arch/arm/mach-iop13xx/setup.c:303:35: error: shift count >= width of type [-Werror,-Wshift-count-overflow] > static u64 iop13xx_adma_dmamask = DMA_BIT_MASK(64); > ^~~~~~~~~~~~~~~~ > include/linux/dma-mapping.h:141:54: note: expanded from macro 'DMA_BIT_MASK' > #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) > ^ ~~~ > > The ones in iop shouldn't really be 64 bit masks, so changing them > to what the driver can support avoids the warning. > > Signed-off-by: Arnd Bergmann Applied to fixes. -Olof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel