Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1822927ybi; Mon, 1 Jul 2019 00:50:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzAGfx/ZaSXkmM8vz9PXsKh/Ji6aes3VemE6IuXDbP5G0mCmfl4OmmjCR9tzBsUICjmn2Vj X-Received: by 2002:a17:902:a414:: with SMTP id p20mr26139680plq.187.1561967402563; Mon, 01 Jul 2019 00:50:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561967402; cv=none; d=google.com; s=arc-20160816; b=n51nwEw5zBuRkZodKFb2PXhaHcIE2M1eHgJFqbVz5PaVt6YheAta0CPb5I3MXlAuh2 XTXBV9bfCOkTomJVZnPHnCyyVzBEOH9LUZ6/UdCgxSkRC0L8q0Eu8+tK2FLMFO5S/wwl v0ZMXYKmrUaLkYOEkYpMpdYZzwcEI8XWt5/MQTAib/hxDzo+DNZE7j7Kqnxh7okfJGek Il+KEMBCRxlIn0CQzHP9PKGuRIcLbo3K4X6AgCeEbIaJfFQzFNLQUfRNVgwPkhe162sO d3c2fV2u9pBWcO+P1Xn7w2RrXcxqt7hPyX+MddUCa9EtUpLehrkWzPUSlNK0UGRZGHaq pyMA== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=tjo1XverJl9PG3b41D1W2lOz6tpZupwHaGs01X47wdM=; b=TTXWU1K6lOJ+Kj06P9b/CWiWlGwiV9OQXKIJ4FpUPg686NkSQE1fi5vKdKh3jG59ZI O/Pm1jAFbL7zLh5GHCg5ENihvmo4CczsCDJt8AptIpWDjAlIVi8aJb3gewmHrC+NeqR4 a7dQmVehvYByM2YVbRnexnf47YgL6byB1PvI9gwsiZf9eScm8nryZ3hTMsaF8BQnrlMI vqhKNQkQEUdQwG+2IWhEDDzepIav9ju2ZvaTBNpUu88/qdy2px5CSw/Sl4WZmoHo3QK7 M1j2UJQrrUE7z5bDYE9q7y5VEMUdb1uVuHHHNlN3l+P4sd7l4hu/hSucwQ499/xZAHVF Lh6w== ARC-Authentication-Results: i=1; mx.google.com; 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 c1si9809462pgp.45.2019.07.01.00.49.47; Mon, 01 Jul 2019 00:50:02 -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; 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 S1727500AbfGAHL7 convert rfc822-to-8bit (ORCPT + 99 others); Mon, 1 Jul 2019 03:11:59 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:44023 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727206AbfGAHL7 (ORCPT ); Mon, 1 Jul 2019 03:11:59 -0400 X-Originating-IP: 86.250.200.211 Received: from xps13 (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (Authenticated sender: miquel.raynal@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 95BAEC0009; Mon, 1 Jul 2019 07:11:53 +0000 (UTC) Date: Mon, 1 Jul 2019 09:11:52 +0200 From: Miquel Raynal To: Christophe Kerello Cc: , , , , , bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, Kamal Dasu Subject: Re: [PATCH] mtd: rawnand: stm32_fmc2: avoid warnings when building with W=1 option Message-ID: <20190701091152.189ab62e@xps13> In-Reply-To: <1561128189-14411-1-git-send-email-christophe.kerello@st.com> References: <1561128189-14411-1-git-send-email-christophe.kerello@st.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) 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 Hi Christophe, Christophe Kerello wrote on Fri, 21 Jun 2019 16:43:09 +0200: > This patch solves warnings detected by setting W=1 when building. > > Warnings type detected: > drivers/mtd/nand/raw/stm32_fmc2_nand.c: In function ‘stm32_fmc2_calc_timings’: > drivers/mtd/nand/raw/stm32_fmc2_nand.c:1417:23: warning: comparison is > always false due to limited range of data type [-Wtype-limits] > else if (tims->twait > FMC2_PMEM_PATT_TIMING_MASK) > > Signed-off-by: Christophe Kerello > --- Applied to nand/next, thanks. Miquèl