Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753157AbbHUNs4 (ORCPT ); Fri, 21 Aug 2015 09:48:56 -0400 Received: from mx-rz-2.rrze.uni-erlangen.de ([131.188.11.21]:33647 "EHLO mx-rz-2.rrze.uni-erlangen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752107AbbHUNsz (ORCPT ); Fri, 21 Aug 2015 09:48:55 -0400 X-Greylist: delayed 449 seconds by postgrey-1.27 at vger.kernel.org; Fri, 21 Aug 2015 09:48:55 EDT X-RRZE-Submit-IP: 2001:638:a000:4142::ff0f:d304 Message-ID: <55D72A7C.1020101@fau.de> Date: Fri, 21 Aug 2015 15:41:16 +0200 From: Andreas Ruprecht User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Jianwei Wang CC: linux-kernel@vger.kernel.org, Daniel Vetter , Xiubo Li , Alison Wang , Valentin Rothberg , Stefan Hengelein Subject: Re: drm/layerscape: Add Freescale DCU DRM driver Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1128 Lines: 33 Hi Jianwei, your commit 109eee2f2a18 ("drm/layerscape: Add Freescale DCU DRM driver") showed up in linux-next today (i.e., next-20150821). I noticed it because we are running a daily analysis on the newest linux-next tree as part of our research. In the source code of fsl_dcu_drm_drv.c, there is the following #ifdef: #ifdef CONFIG_COMPAT .compat_ioctl = drm_compat_ioctl, #endif The Kconfig option for the driver, however, states that the driver can only be built with CONFIG_ARM enabled: config DRM_FSL_DCU tristate "DRM Support for Freescale DCU" depends on DRM && OF && ARM [...] Inside arch/arm/, however, there is no definition of CONFIG_COMPAT (note that there is one in arch/arm64/, but the driver explicitely needs CONFIG_ARM), so the #ifdef block above can never be compiled in the current state. Is this intended? Regards, Andreas -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/