Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1822901ybi; Mon, 1 Jul 2019 00:50:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyAW95MMYkVkxfwG6XlIBik3+LPF2F7+19BLi0lNz1x2qpiEHDFurxyHe3Psw6vZDhuwldo X-Received: by 2002:a17:90a:374f:: with SMTP id u73mr29513770pjb.4.1561967400878; Mon, 01 Jul 2019 00:50:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561967400; cv=none; d=google.com; s=arc-20160816; b=HG3IkrFU3GRzxZFIHcZtIX3Gav1DJIQNwx0ok+gq0T+gsrwJVkfO32XPO8kWWw6Bpy b6CdaLJfMjHIOV5YjAnlTgw38v0bgVjqp9AeMYtEe8MhU06JmeMJfNCqvVh4/zC7A+Yv EwqOkSP3Hz2hmLdzAPCV1k0tm0Ky5vEk0bil3YiLp/TpOUJSQ8pDm4KJ5uJi9ZzMwjSS 1Fpv0sFUlUqphwNgfKrHRlFPpaa6MELZYN62TnlIRg83PpXooLicMg0z2ygJadR34dl8 RfBR0Brn72MVOJrlO6FQkh3TH/ma7NjbhDsE9m2bGnogFLmtmle8F0g6y2B/yMK7A0mu NAWg== 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=za1G7qxYxgE3mZxAE7Md+Ooy7pt/IKg1hHLfVV/rMirBnLVWHl663FyVE3jGexuYRC Sb6AyRoxigEmrzgMqY2f6X7neu8ubYJnUoWiuxmu22MDrA091IauCbfjLpyIHfqQ/vnV H106KG0N/AoheKEWx+bT8C/1GAyNJPgWz+zlmxrlE1LtUQaercRCc1RohpZPG10mX81W 96WvlAI0l+GrOLKSYS+ZndR4bpwP2SUFBu1vVlHtkrVYHlXRtyCjJhg2Q6FcYxgoix2F +WxPSJd3QQbC6fIBka3PSek39Gfvhiseu9QqTb+UysgdWkFRyZ+5u9QdKU10QqBmPx9/ BLww== 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 h65si10387860pfb.18.2019.07.01.00.49.45; Mon, 01 Jul 2019 00:50:00 -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 S1727381AbfGAHLg convert rfc822-to-8bit (ORCPT + 99 others); Mon, 1 Jul 2019 03:11:36 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:50109 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727206AbfGAHLf (ORCPT ); Mon, 1 Jul 2019 03:11:35 -0400 Received: from xps13 (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (Authenticated sender: miquel.raynal@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 8BDFD240009; Mon, 1 Jul 2019 07:11:29 +0000 (UTC) Date: Mon, 1 Jul 2019 09:11:28 +0200 From: Miquel Raynal To: Christophe Kerello Cc: , , , , , , , , Subject: Re: [PATCH] mtd: rawnand: stm32_fmc2: avoid warnings when building with W=1 option Message-ID: <20190701091128.4e67f1de@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