Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2233558ybi; Thu, 20 Jun 2019 11:18:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqz9SRjTHBX3/WoJ8ES/77iot8e4Sp6B/DG70ZhnSUMzCWtxSJ2hqk7be8oclMZuTaEB1XSJ X-Received: by 2002:a17:90a:ad89:: with SMTP id s9mr1005709pjq.41.1561054726101; Thu, 20 Jun 2019 11:18:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561054726; cv=none; d=google.com; s=arc-20160816; b=o7TY7GzxBRJIzSJE8M35pmyNDuKQLqg7rZ/nPKLMdXssoT92T38FfJVj4HOTObKxhs 2Sk5uWTqdpABQxPot10iiomS9iOpsNZfE8k1ggCtVM2CLjZg1jo196UGt8FaDzX3I/nW RyGathoMp8cPvGJz6pTtIK3ghEUQ6Cp5tHnoHXoyvTmkAfqVX/9rmKrOdIOTxpL95KTO J6RrcnhLpmFoga7qwdnWzxM4uyR0JvtrLJ3pGwYL0/YipU1dWq6Ic8tyfqd6qHJBliIh hLvMYIqvuqPbhMCW1T3H9OS3izLbI34UCXB7sMGa908XdxoNsj9OjJFBN+PCZrPK5ueJ 2RFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=tJJB2bBKiKWP9q/fG5bUG2x46luXvZ4a8JIzN2LpCGY=; b=P2qt1jvWZO46iAmPbeiVb3LhgPkueZN30J60fclwQK3qpqz+S9F2tOCwHUxtXPtmbm i38s8byswuu0taSLzMEFeZygQj/cJzE+2u/nMLWIBJsT6k2S759RziuPF1gGoWlwK7i5 ipDKE/FNo+S611QT/dCxHXE3kxOtLMReYng6nkB/qzb+m4OPV7DR5SbKtfyXlK+0IS+Z UYgVQ60FhDU5n5Pl9iPFVB2QOTkXEWlbn7JY/FgLty88MzMourhQVafuPT4/ej43kdtQ kA8RqmnuXpIWzhEu8LGBbTT8psIygv/LL86OC6qsPmxCagb8zP6FwHLskypGcagidP3+ yUIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sk5AMo6l; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s7si345747plq.246.2019.06.20.11.18.31; Thu, 20 Jun 2019 11:18:46 -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=@kernel.org header.s=default header.b=sk5AMo6l; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729909AbfFTSRP (ORCPT + 99 others); Thu, 20 Jun 2019 14:17:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:46496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729050AbfFTSRN (ORCPT ); Thu, 20 Jun 2019 14:17:13 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A3C7A2082C; Thu, 20 Jun 2019 18:17:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561054632; bh=SJE9LZ9YHhAAp7GuxHcP/85NZDSBqP1o+ERQa94aOk4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sk5AMo6lvrzWg113RWGZAEG0aG55HaeEEXtSxp3tzBshoPNI5jrvVhCbatdccHm5C Ljw2J1k13v6fQNEnKJc1UHcuqwTXvG66TvMsLygdUi7SaGjWHlivlIqSfND4oE6PXk YBjDNRMOusA0UMdg4vOnbcDXi+iyT3ewO00J3K6E= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , Takashi Sakamoto , Takashi Iwai , Sasha Levin Subject: [PATCH 5.1 78/98] ALSA: fireface: Use ULL suffixes for 64-bit constants Date: Thu, 20 Jun 2019 19:57:45 +0200 Message-Id: <20190620174353.177190471@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190620174349.443386789@linuxfoundation.org> References: <20190620174349.443386789@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 6954158a16404e7091cea494cd0a435ca2f90388 ] With gcc 4.1: sound/firewire/fireface/ff-protocol-latter.c: In function ‘latter_switch_fetching_mode’: sound/firewire/fireface/ff-protocol-latter.c:97: warning: integer constant is too large for ‘long’ type sound/firewire/fireface/ff-protocol-latter.c: In function ‘latter_begin_session’: sound/firewire/fireface/ff-protocol-latter.c:170: warning: integer constant is too large for ‘long’ type sound/firewire/fireface/ff-protocol-latter.c:197: warning: integer constant is too large for ‘long’ type sound/firewire/fireface/ff-protocol-latter.c:205: warning: integer constant is too large for ‘long’ type sound/firewire/fireface/ff-protocol-latter.c: In function ‘latter_finish_session’: sound/firewire/fireface/ff-protocol-latter.c:214: warning: integer constant is too large for ‘long’ type Fix this by adding the missing "ULL" suffixes. Add the same suffix to the last constant, to maintain consistency. Fixes: fd1cc9de64c2ca6c ("ALSA: fireface: add support for Fireface UCX") Signed-off-by: Geert Uytterhoeven Reviewed-by: Takashi Sakamoto Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/firewire/fireface/ff-protocol-latter.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sound/firewire/fireface/ff-protocol-latter.c b/sound/firewire/fireface/ff-protocol-latter.c index c8236ff89b7f..b30d02d359b1 100644 --- a/sound/firewire/fireface/ff-protocol-latter.c +++ b/sound/firewire/fireface/ff-protocol-latter.c @@ -9,11 +9,11 @@ #include "ff.h" -#define LATTER_STF 0xffff00000004 -#define LATTER_ISOC_CHANNELS 0xffff00000008 -#define LATTER_ISOC_START 0xffff0000000c -#define LATTER_FETCH_MODE 0xffff00000010 -#define LATTER_SYNC_STATUS 0x0000801c0000 +#define LATTER_STF 0xffff00000004ULL +#define LATTER_ISOC_CHANNELS 0xffff00000008ULL +#define LATTER_ISOC_START 0xffff0000000cULL +#define LATTER_FETCH_MODE 0xffff00000010ULL +#define LATTER_SYNC_STATUS 0x0000801c0000ULL static int parse_clock_bits(u32 data, unsigned int *rate, enum snd_ff_clock_src *src) -- 2.20.1