Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C1EF7FBD6 for ; Sat, 1 Mar 2025 04:41:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740804117; cv=none; b=h4DBH8f9BpSCW58LuChR/FWFMJw8Yb65OmRrb4ccxgBC3X3tOv8JEUuAzS+aALuCk2ZwvrUhpTwFWFMKdVYij05E5YYlj8DD/ehDFYMDKaJCnvLefMWB8A/ndYqVIoetdn7Vmvs/wayW7bejL320od/Jsel1z1TPNN3NgR4qzf4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740804117; c=relaxed/simple; bh=5Tfv6h4o8MKlnMPjZQUzkA5LFbtZIsyAkNcVyykqfwI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KkUwHE5gbR5Pg6JA+Fn+MQ47Z6sEgluyou0+VpAZM6bEBXzSPw7aE2/saUajOH8ub7naP89x7xYUTQfw0OQO7mSfje2b3SzcRBwTHcTjx43Y/dIXiwEH2ZcLwzcVFIm7ZgULCpcCaZHs6J7o3KCaRVCas23K90tJ0cC2mSD1ZhM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=WxVMskGe; arc=none smtp.client-ip=192.198.163.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="WxVMskGe" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740804115; x=1772340115; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5Tfv6h4o8MKlnMPjZQUzkA5LFbtZIsyAkNcVyykqfwI=; b=WxVMskGej+vZmCvOHsufrZG4Yjhjg+1W8P+kGlqDJ+kpqKq2/zd+24Ug xdr1me2Oeph/tMnH17l55/7K04QhMHQCOtvbBRbSyhWQOYSkzOf2Q+rZ+ J0PjGLPrsJHEHSyeqhmDUsg5rgCYsin5qPiJLO04muPArDtzNVsmmMp6P ZLWULwl/8EXhn2Lck8idl/Mb4TLa+hi8eBops3GaUu26V78UmVWlcP4oK uWn03pQQj7YeW+E1K2KZIJ0ViBQedl3kGcnMHIHk+DbIQ8TQEEqKyoWU3 8tCThtt+Aujkxlk8qge2UInJFHL7rgHBkcYqh9qwQLujwWvjGcAR+JSlj w==; X-CSE-ConnectionGUID: yiJtu/QvR5GGaihE9Ssqbg== X-CSE-MsgGUID: yt+Y4AYhTTOpjkg0ZjiMzw== X-IronPort-AV: E=McAfee;i="6700,10204,11359"; a="29328892" X-IronPort-AV: E=Sophos;i="6.13,324,1732608000"; d="scan'208";a="29328892" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2025 20:41:54 -0800 X-CSE-ConnectionGUID: qWjecKjySASJ8/0w07KqJQ== X-CSE-MsgGUID: cXyOnGfwT2Oi87tPwfQBmQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.13,324,1732608000"; d="scan'208";a="122127342" Received: from lkp-server02.sh.intel.com (HELO 76cde6cc1f07) ([10.239.97.151]) by fmviesa005.fm.intel.com with ESMTP; 28 Feb 2025 20:41:53 -0800 Received: from kbuild by 76cde6cc1f07 with local (Exim 4.96) (envelope-from ) id 1toEfc-000Fru-1V; Sat, 01 Mar 2025 04:41:49 +0000 Date: Sat, 1 Mar 2025 12:41:12 +0800 From: kernel test robot To: Ville Syrjala , dri-devel@lists.freedesktop.org Cc: oe-kbuild-all@lists.linux.dev, intel-gfx@lists.freedesktop.org, Jani Nikula , Thomas Zimmermann Subject: Re: [PATCH v2 1/8] drm/client: Constify modes Message-ID: <202503011242.ZSTgTEVd-lkp@intel.com> References: <20250228211454.8138-2-ville.syrjala@linux.intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250228211454.8138-2-ville.syrjala@linux.intel.com> Hi Ville, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-exynos/exynos-drm-next] [also build test WARNING on linus/master v6.14-rc4 next-20250228] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Ville-Syrjala/drm-client-Constify-modes/20250301-051619 base: https://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git exynos-drm-next patch link: https://lore.kernel.org/r/20250228211454.8138-2-ville.syrjala%40linux.intel.com patch subject: [PATCH v2 1/8] drm/client: Constify modes config: arm64-randconfig-001-20250301 (https://download.01.org/0day-ci/archive/20250301/202503011242.ZSTgTEVd-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250301/202503011242.ZSTgTEVd-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202503011242.ZSTgTEVd-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/gpu/drm/drm_client_modeset.c:1275: drivers/gpu/drm/tests/drm_client_modeset_test.c: In function 'drm_test_pick_cmdline_res_1920_1080_60': >> drivers/gpu/drm/tests/drm_client_modeset_test.c:108:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | mode = drm_connector_pick_cmdline_mode(connector); | ^ vim +/const +108 drivers/gpu/drm/tests/drm_client_modeset_test.c 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 84 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 85 static void drm_test_pick_cmdline_res_1920_1080_60(struct kunit *test) 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 86 { 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 87 struct drm_client_modeset_test_priv *priv = test->priv; 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 88 struct drm_device *drm = priv->drm; 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 89 struct drm_connector *connector = &priv->connector; 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 90 struct drm_cmdline_mode *cmdline_mode = &connector->cmdline_mode; 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 91 struct drm_display_mode *expected_mode, *mode; 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 92 const char *cmdline = "1920x1080@60"; 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 93 int ret; 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 94 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 95 expected_mode = drm_mode_find_dmt(priv->drm, 1920, 1080, 60, false); 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 96 KUNIT_ASSERT_NOT_NULL(test, expected_mode); 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 97 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 98 KUNIT_ASSERT_TRUE(test, 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 99 drm_mode_parse_command_line_for_connector(cmdline, 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 100 connector, 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 101 cmdline_mode)); 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 102 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 103 mutex_lock(&drm->mode_config.mutex); 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 104 ret = drm_helper_probe_single_connector_modes(connector, 1920, 1080); 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 105 mutex_unlock(&drm->mode_config.mutex); 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 106 KUNIT_ASSERT_GT(test, ret, 0); 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 107 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 @108 mode = drm_connector_pick_cmdline_mode(connector); 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 109 KUNIT_ASSERT_NOT_NULL(test, mode); 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 110 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 111 KUNIT_EXPECT_TRUE(test, drm_mode_equal(expected_mode, mode)); 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 112 } 8fc0380f6ba7e9 Maxime Ripard 2022-11-14 113 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki