Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7587993ybi; Tue, 9 Jul 2019 00:53:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9ElSQSzpUgXJEG9oF/fu0PzvkR1X/XfDp246SOtJmlEQMaK4BM8lThQOqD8+9UL9dWABH X-Received: by 2002:a17:902:2a27:: with SMTP id i36mr29859836plb.161.1562658807848; Tue, 09 Jul 2019 00:53:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562658807; cv=none; d=google.com; s=arc-20160816; b=tz756ZGWTVybbtP/3wKS2uIhgs8wKcrqCFo9UcL5MB4BimatYsz/mqa8VOl+1ZBE3A NqesNg4yJmmxoXj/p4BwVZleLfWYHUB7aMr9W8/lGd//GNFDHvpZiZ28xaG1/kmC19ao UNz67qA7lkrlwD8Q6QqpMZyhhdLjm4Lvk3RXVnjXiSYrdCgVp04nlyJywawMj4l/jhco V2cXGuNaEsxfqQ6YalSBI/20XJFdgyFjSQtV8vf6BUp7UKwVpxKbpMHDYRtU7J/ZS5rx XbJ2b9DVfj57SGkmh9P1JfNir1xCJIBbc+TTScHzoGzbk2PDwVvilIB+kzVqfO2151dq cgyA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=/DmdBFluf3TNNYk0EQ5Y03piO+O0zI/xncWXtOGKcac=; b=o1TfulPj3nE/XwQVwmaRUun3ybWbYgqAzDuEWKxp+SZsXtNQ34ec+8j8aP8OqgcTtd +5GIrpERRoFHOupOhIcauDWwCWc87v7RJeHuG/ICYzGYVCy9BxC4MMQ8SyGIms1qd8So Vrdx2o5r8x4++fQ0PPQ/zfWHmgZAQXc2S4Skmx4rJfj0Y9mVznywMHGZB/o5AZnYQG6G 8fGKrysrXq+Ffsc6hPd6kgwfRhXbfnwuJL92ZngAyRxi6Cs2M58HNBaWIUU/P81mwImi X6ZHuZv4rsEg/46++C3XgD/9bwYnKHuZWs7hvqtffg7k2RxUKctRE4wm3Oh/lO2nQCzi Wn0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=P+nWViIi; 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 z17si1898277pjr.21.2019.07.09.00.53.12; Tue, 09 Jul 2019 00:53:27 -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=@st.com header.s=STMicroelectronics header.b=P+nWViIi; 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 S1726492AbfGIHvB (ORCPT + 99 others); Tue, 9 Jul 2019 03:51:01 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:62964 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725905AbfGIHvA (ORCPT ); Tue, 9 Jul 2019 03:51:00 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x697fIMC005989; Tue, 9 Jul 2019 09:50:31 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=STMicroelectronics; bh=/DmdBFluf3TNNYk0EQ5Y03piO+O0zI/xncWXtOGKcac=; b=P+nWViIidUmuppObGmoj4H4VowV9mJSROGx0hIanQdkFgY9X/9Q4mNFhKSYMf129WOWg BUnGr/00pT5Q8nB2AfajhXVLGc41p5UNbuDGArY3UWqg6E/rxIDuZFRyKiiars0JUQ05 Fpd/mYHI/4OrsAdGMX6uEAO04FGUNlXbvJZF1Iu4UHOGorgaBmPf2nZ8aPcRANomMvc1 l8xRc7P+xfONcOulMYA8ww5z9yNu+jvJ5Lzk4tvP0pDT66y/xZs84Q6nzcJnYSRCxuS4 RI+cg9ipLGn6KJcwsKFpAY4epJrvhq/247/r7iD6yRkkATQQD3LNI9VMAcwmdnQ6FPR4 5g== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2tmh511qy7-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 09 Jul 2019 09:50:31 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0E23D34; Tue, 9 Jul 2019 07:50:28 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node2.st.com [10.75.127.17]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id DDEC228B4; Tue, 9 Jul 2019 07:50:25 +0000 (GMT) Received: from [10.201.23.29] (10.75.127.46) by SFHDAG6NODE2.st.com (10.75.127.17) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 9 Jul 2019 09:50:24 +0200 Subject: Re: [PATCH] mtd: rawnand: stm32_fmc2: avoid warnings when building with W=1 option To: Miquel Raynal CC: , , , , , , , , References: <1561128189-14411-1-git-send-email-christophe.kerello@st.com> <20190701091128.4e67f1de@xps13> From: Christophe Kerello Message-ID: <13d30ef8-b649-6416-3814-35a53c5c09ce@st.com> Date: Tue, 9 Jul 2019 09:50:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190701091128.4e67f1de@xps13> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG6NODE2.st.com (10.75.127.17) To SFHDAG6NODE2.st.com (10.75.127.17) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-07-09_03:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/1/19 9:11 AM, Miquel Raynal wrote: > 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. Hi Miquel, After fetching nand/next, I do not see this patch applied. Regards, Christophe Kerello. > > Miquèl >