Received: by 10.223.185.116 with SMTP id b49csp421446wrg; Fri, 23 Feb 2018 00:34:50 -0800 (PST) X-Google-Smtp-Source: AH8x225JFboH3/rcKYy73C7q7nxJU67veqlAkfZMurgrGE5ycc7vdnAfNp7sVp0u92Lc7poTqm/+ X-Received: by 10.99.170.73 with SMTP id x9mr823608pgo.393.1519374890183; Fri, 23 Feb 2018 00:34:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519374890; cv=none; d=google.com; s=arc-20160816; b=LUsG1Y9fC34VWS3r6UmxSvB36NNGbNWXejGiAtYFLfPEZO5BNyLb4pZeIxIEWq1Z0x YRg8ZN/Ou37R76ClNG4XpWe2fJrQpcHi0BQ9i2nuWCdHRVAjFAULaZi/vzxI/oAdBzOQ e1XZdLpFGk283THNI9VaReYGfvkbiqBknTuOQVZwCpe4OKsK+DK90fhO0f/j9SbmD3Kw BmjmSbfhhHa2zVccUQADjwynm1UfnP1Bc3OE+JRCrh7g8zY6ppETsPXJcHFW+2VkwxZh cf4vS0k2V+lQ18GA2zTv+xeuyjideD1T82YX3TR7Uo7qTi+dIrMzsNzO3FWX4hVV2G3v OTKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:arc-authentication-results; bh=Vrfi+RkcUsKToQwaFjnpufxbNX4au2Yp9laW6llWfWw=; b=bg2Y0Mt5jCdHCHx/t7KgXAqVGRF1T3c78Ng7Jnr1UgRhpUmjHM28bGXPOk9aQCnKhz P65TcSxUkk8AD0Wia/Q462hT+mg7Id9ZZ1iaPFTZqRi9YdG6/p9YWuHGwouSJqL0slbd 4ve17k7EriXhprFSN3BP0nzcfSm+fDjtAKlTKIXjam0im70LXMdLSXEzncq3/7+v63Rs qoCLfLBgUfD+7l7Q9YFmDqJVW/C/QTALBzdgogLycOkd3C8uVi06NoDEzjgtcbjK2J0a Im8j+boBKgiKq24/NCzzcxVYB8UKwbZan/fYGYHncDKcmNlIxxozNZSCziVznZQRxdsT AAmg== 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 k11si1221269pgq.254.2018.02.23.00.34.35; Fri, 23 Feb 2018 00:34:50 -0800 (PST) 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 S1751461AbeBWIeB (ORCPT + 99 others); Fri, 23 Feb 2018 03:34:01 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:30762 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750861AbeBWIeA (ORCPT ); Fri, 23 Feb 2018 03:34:00 -0500 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w1N8XpY5017609; Fri, 23 Feb 2018 09:33:51 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2g9bn30mjs-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 23 Feb 2018 09:33:51 +0100 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 549EF3D; Fri, 23 Feb 2018 08:33:51 +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 285DC262A; Fri, 23 Feb 2018 08:33:51 +0000 (GMT) Received: from SFHDAG6NODE3.st.com (10.75.127.18) by SFHDAG6NODE2.st.com (10.75.127.17) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 23 Feb 2018 09:33:50 +0100 Received: from SFHDAG6NODE3.st.com ([fe80::d04:5337:ab17:b6f6]) by SFHDAG6NODE3.st.com ([fe80::d04:5337:ab17:b6f6%20]) with mapi id 15.00.1347.000; Fri, 23 Feb 2018 09:33:50 +0100 From: Philippe CORNU To: Benjamin Gaignard , Yannick FERTRE , Vincent ABRIOU , "laurent.pinchart@ideasonboard.com" CC: "airlied@linux.ie" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2] drm/stm: check pitch and size calculations even if !CONFIG_MMU Thread-Topic: [PATCH v2] drm/stm: check pitch and size calculations even if !CONFIG_MMU Thread-Index: AQHTmmpApfoADTvM1UuDNlLVosfTS6OxvHWA Date: Fri, 23 Feb 2018 08:33:50 +0000 Message-ID: References: <20180131080508.14356-1-benjamin.gaignard@linaro.org> In-Reply-To: <20180131080508.14356-1-benjamin.gaignard@linaro.org> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.49] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-23_02:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQmVuamFta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