From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752181AbdEVJ6H (ORCPT ); Mon, 22 May 2017 05:58:07 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:16030 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751405AbdEVJ6G (ORCPT ); Mon, 22 May 2017 05:58:06 -0400 From: Philippe CORNU To: Masahiro Yamada CC: Julia Lawall , "linux-kernel@vger.kernel.org" , Yannick FERTRE , "David Airlie" , "dri-devel@lists.freedesktop.org" , Daniel Vetter , "kbuild@01.org" Subject: Re: [PATCH] drm/stm: add COMPILE_TEST to Kconfig (fwd) Thread-Topic: [PATCH] drm/stm: add COMPILE_TEST to Kconfig (fwd) Thread-Index: AQHS0HR5zrhqgONAgUS6BrKIBZP7e6H7cUsAgAHqS4CAAqW0gA== Date: Mon, 22 May 2017 09:57:47 +0000 Message-ID: <359e2468-58ba-9264-3f46-47ec035f0761@st.com> References: <8d20ad01-e525-3b6a-3caa-8a89698a8722@st.com> In-Reply-To: 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.1.1 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.44] Content-Type: text/plain; charset="utf-8" Content-ID: <6B41ABB2C070D64DA99D06D36057D471@st.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-05-22_08:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id v4M9wc8n001776 On 05/20/2017 07:32 PM, Masahiro Yamada wrote: > Hi Philippe, > > > 2017-05-19 21:17 GMT+09:00 Philippe CORNU : >> >> >> On 05/19/2017 09:49 AM, Julia Lawall wrote: >>> On line 466, the preceeding comment suggests that the second constant >>> should start with VS rather than HS again. >>> >>> julia >>> >>> ---------- Forwarded message ---------- >>> Date: Fri, 19 May 2017 15:45:39 +0800 >>> From: kbuild test robot >>> To: kbuild@01.org >>> Cc: Julia Lawall >>> Subject: Re: [PATCH] drm/stm: add COMPILE_TEST to Kconfig >>> >>> CC: kbuild-all@01.org >>> In-Reply-To: <1495082711-10535-1-git-send-email-yamada.masahiro@socionext.com> >>> TO: Masahiro Yamada >>> CC: dri-devel@lists.freedesktop.org, Daniel Vetter , linux-kernel@vger.kernel.org, Masahiro Yamada , Yannick Fertre , Philippe Cornu , David Airlie >>> CC: linux-kernel@vger.kernel.org, Masahiro Yamada , Yannick Fertre , Philippe Cornu , David Airlie >>> >>> Hi Masahiro, >>> >>> [auto build test WARNING on drm/drm-next] >>> [cannot apply to v4.12-rc1 next-20170518] >>> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] >>> >>> url: https://github.com/0day-ci/linux/commits/Masahiro-Yamada/drm-stm-add-COMPILE_TEST-to-Kconfig/20170519-131342 >>> base: git://people.freedesktop.org/~airlied/linux.git drm-next >>> :::::: branch date: 3 hours ago >>> :::::: commit date: 3 hours ago >>> >>>>> drivers/gpu/drm/stm/ltdc.c:466:7-15: duplicated argument to & or | >>> >>> git remote add linux-review https://github.com/0day-ci/linux >>> git remote update linux-review >>> git checkout c669a25d907f95d3e13f1dae9812642330b4aa28 >>> vim +466 drivers/gpu/drm/stm/ltdc.c >>> >>> b759012c Yannick Fertre 2017-04-14 450 accum_vbp = vsync + vm.vback_porch; >>> b759012c Yannick Fertre 2017-04-14 451 accum_act_w = accum_hbp + vm.hactive; >>> b759012c Yannick Fertre 2017-04-14 452 accum_act_h = accum_vbp + vm.vactive; >>> b759012c Yannick Fertre 2017-04-14 453 total_width = accum_act_w + vm.hfront_porch; >>> b759012c Yannick Fertre 2017-04-14 454 total_height = accum_act_h + vm.vfront_porch; >>> b759012c Yannick Fertre 2017-04-14 455 >>> b759012c Yannick Fertre 2017-04-14 456 clk_disable(ldev->pixel_clk); >>> b759012c Yannick Fertre 2017-04-14 457 >>> b759012c Yannick Fertre 2017-04-14 458 if (clk_set_rate(ldev->pixel_clk, rate) < 0) { >>> b759012c Yannick Fertre 2017-04-14 459 DRM_ERROR("Cannot set rate (%dHz) for pixel clk\n", rate); >>> b759012c Yannick Fertre 2017-04-14 460 return; >>> b759012c Yannick Fertre 2017-04-14 461 } >>> b759012c Yannick Fertre 2017-04-14 462 >>> b759012c Yannick Fertre 2017-04-14 463 clk_enable(ldev->pixel_clk); >>> b759012c Yannick Fertre 2017-04-14 464 >>> b759012c Yannick Fertre 2017-04-14 465 /* Configures the HS, VS, DE and PC polarities. */ >>> b759012c Yannick Fertre 2017-04-14 @466 val = HSPOL_AL | HSPOL_AL | DEPOL_AL | PCPOL_IPC; >> >> Thanks Julia for your comments. >> Masahiro, may I ask you please to propose a patch (simply rename the 2nd >> HSPOL_AL to VSPOL_AL at line 466.) as the issue is revealed by your >> patch named "drm/stm: add COMPILE_TEST to Kconfig". >> Many thanks, >> Philippe > > > I added COMPILE_TEST, but my objective was to > easily test my ccflags-y cleanup works for Kbuild. > > The change will not affect the behavior > (because both HSPOL_AL and HSPO_AL are defined as 0), > but I think it should be fixed by a person who is familiar with this driver. > > > > I sent a patch to fix this small issue detected during COMPILE_TEST. Many thanks