Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1545422rdb; Wed, 31 Jan 2024 01:43:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IH3YGkQGKcuR5XRS00txBwo+fgXBJ/vPIcWze0R6YJTb/KWKmfiaHGslbMwdYVF8G+KyTEa X-Received: by 2002:a17:90b:218c:b0:290:7c4a:708 with SMTP id ku12-20020a17090b218c00b002907c4a0708mr1214568pjb.13.1706694200548; Wed, 31 Jan 2024 01:43:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706694200; cv=pass; d=google.com; s=arc-20160816; b=0I7Xg070hZCIzhgbVYdXFm7wJJC4vAa8vbEe3R/l+UNvHRGw0uZ+tm49Q0SN1wJNMq e5bshjwEXAojKrKrYIhnbN1U6UkeJ3BQny+lrTFBPoqChpWN78SGmYDG8Xi/X9KUdRq8 FBdlbQDnxn9EiGxz7WiLrX0W8y9/x0MdpfdHSCjPA41yD2V12M+nvhrLIHQscsGZK3OE eLq4++Bidd+BJEfBfutGsGRaLzklD6nuqn2oK/DnELYc+uXlflTfuDanWS0jiNgcMBeP ofg/IW1E2H5tpx543qgr3VGymJPjRO0ClipqScLvVASyvWyBHFttr6h+r8vQUZG//uQO ChXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7lN7XMKDG44RUZFqnxARNQ2SdIxfxZ43XcDYkfDlkYs=; fh=rJ8QB8scJhRtIv+EcoPlhQUDxWlDU7A5xa/rZw/Hw14=; b=zPGjG4NxvH57OzEyRb6ageWmq6x/7X533VC30WU5t1jjuSMsdwKOFCZ+Uz+bxmpVd0 NYIzpXIXTppkukNlY+qEwshuASms7kilDiYDzdsbKKR60m0xvz46n10XxojSSGZm42QA IN2A0M+CioMGdtEN65ePcLcMEpZNa20H12kL1yheeWUmgpLihpf1GN9Kq8l+D7/tHKNf sscyf45eRnU5Xc6U+Q2C23r/AGYgg+LR66aPIM4AbF0OLAtVcZA+AAdersiRuj6CACsh iM28ZIzRTLMGAl2oaJCnk9V2l0stgYg2fbsyTOCCqWG2d57E8kKM9sPa9pnMGAHyHRqO I0ug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UQG0XsPB; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-46146-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46146-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCW5cPGqZgUN4rf9mykgaWFTZTiEIoPOxS6iLaPTTo/CloUQM2JUXR4p6bg79ljoZL+aWxd7zfctO+mo7SeWV4nD64QORxUYf4rNA97NQQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t4-20020a17090ad14400b00295b15d79cesi825028pjw.175.2024.01.31.01.43.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 01:43:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46146-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UQG0XsPB; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-46146-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46146-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 722F02862F8 for ; Wed, 31 Jan 2024 09:37:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10AF969959; Wed, 31 Jan 2024 09:37:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="UQG0XsPB" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (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 78B7567E7D; Wed, 31 Jan 2024 09:37:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706693849; cv=none; b=gUQnuDKTRqBbVCP7pkQUIbaYiv5KJ8XYehET/AlLPiZo39DtQPOCQrwuJG69hq4qyBR5E89Q6elbVS32B1FtClgD0+c2RSV4KH/DP/9uOnTt5JeOdrC0xzWSBRU6fsujogDBp6wcOBI9y6M3i+sEWsCaidH3O0yH+s/DpA/H744= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706693849; c=relaxed/simple; bh=NoQuHti6IiS7+y8Ci1LusmcVVUnkd5kTdFqj+tyu7T0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QcHgJXwMe/vO30uxnH8oFvcSKr5RPwiDF0RJMJDKf8BowSFWB2oiOurX0eSQk8lTbPPz6qx3fcDAKKjbGiZZLMbl/EaQcTsFgsGgOoLVoBpFPrkh2lj5CG4K9TBK6KbvHBqiq5Z3ZtaR6z89PTyRnqATWPyyMeGPogBmfsmA5qI= 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=UQG0XsPB; arc=none smtp.client-ip=192.198.163.13 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706693845; x=1738229845; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=NoQuHti6IiS7+y8Ci1LusmcVVUnkd5kTdFqj+tyu7T0=; b=UQG0XsPBffKIfahohbarDYkA2tZMEOeBbATXWnzsXBzHxE4cAfscRsVl 8UwbK+KrxnxYuTaX2bjRowjSXFp6esu/9vKKZ8UUJSJAHeObhYuZve3Az 4Wfz/FoL1O4OFn87vdSVXfuekR+X9hziczrovcI9paRGNg/yApu9+g8t7 Fc0Gfwdv3h5TEYr6svLC0ofgMGc7U6a2mHqICkhOAV7gmT2Pe4Sc1J5XZ KKtszaFqlyYwHKnHGfF8Olgy6qSxMmdyOvRgrKf9KwfUqBfkOOMGlXc0+ GQ2OdeWQz28yrdKRQ2CfOti6C0f+Y7fzvlQPEf6Y9hr5teJNYARIKXYHK A==; X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="2488841" X-IronPort-AV: E=Sophos;i="6.05,231,1701158400"; d="scan'208";a="2488841" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2024 01:37:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,231,1701158400"; d="scan'208";a="36805531" Received: from lkp-server02.sh.intel.com (HELO 59f4f4cd5935) ([10.239.97.151]) by orviesa001.jf.intel.com with ESMTP; 31 Jan 2024 01:37:22 -0800 Received: from kbuild by 59f4f4cd5935 with local (Exim 4.96) (envelope-from ) id 1rV71w-0001Ov-2b; Wed, 31 Jan 2024 09:37:17 +0000 Date: Wed, 31 Jan 2024 17:34:49 +0800 From: kernel test robot To: Mario Limonciello , amd-gfx@lists.freedesktop.org, Alex Deucher , Harry Wentland , "Rafael J . Wysocki" , Hans de Goede Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, "open list:ACPI" , open list , "open list:DRM DRIVERS" , Melissa Wen , Mark Pearson , Mario Limonciello Subject: Re: [PATCH v2 2/4] drm: Add drm_get_acpi_edid() helper Message-ID: <202401311759.htfj4nbl-lkp@intel.com> References: <20240130192608.11666-3-mario.limonciello@amd.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240130192608.11666-3-mario.limonciello@amd.com> Hi Mario, kernel test robot noticed the following build warnings: [auto build test WARNING on rafael-pm/linux-next] [also build test WARNING on rafael-pm/acpi-bus linus/master v6.8-rc2 next-20240131] [cannot apply to drm-misc/drm-misc-next rafael-pm/devprop] [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/Mario-Limonciello/ACPI-video-Handle-fetching-EDID-that-is-longer-than-256-bytes/20240131-032909 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next patch link: https://lore.kernel.org/r/20240130192608.11666-3-mario.limonciello%40amd.com patch subject: [PATCH v2 2/4] drm: Add drm_get_acpi_edid() helper config: i386-buildonly-randconfig-001-20240131 (https://download.01.org/0day-ci/archive/20240131/202401311759.htfj4nbl-lkp@intel.com/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240131/202401311759.htfj4nbl-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/202401311759.htfj4nbl-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/acpi/acpi_video.c:642:44: warning: format specifies type 'long' but the argument has type 'ssize_t' (aka 'int') [-Wformat] 642 | "Invalid _DDC data for length %ld\n", length); | ~~~ ^~~~~~ | %zd include/linux/acpi.h:1219:30: note: expanded from macro 'acpi_handle_debug' 1219 | handle, pr_fmt(fmt), ##__VA_ARGS__) | ~~~ ^~~~~~~~~~~ include/linux/dynamic_debug.h:250:59: note: expanded from macro '_dynamic_func_call' 250 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~ include/linux/dynamic_debug.h:248:65: note: expanded from macro '_dynamic_func_call_cls' 248 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~ include/linux/dynamic_debug.h:224:15: note: expanded from macro '__dynamic_func_call_cls' 224 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~ 1 warning generated. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for ACPI_WMI Depends on [n]: X86_PLATFORM_DEVICES [=n] && ACPI [=y] Selected by [y]: - DRM [=y] && HAS_IOMEM [=y] && (AGP [=n] || AGP [=n]=n) && !EMULATED_CMPXCHG && HAS_DMA [=y] && X86 [=y] vim +642 drivers/acpi/acpi_video.c ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 612 ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 613 static int 4be44fcd3bf648 drivers/acpi/video.c Len Brown 2005-08-05 614 acpi_video_device_EDID(struct acpi_video_device *device, 4be44fcd3bf648 drivers/acpi/video.c Len Brown 2005-08-05 615 union acpi_object **edid, ssize_t length) ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 616 { ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 617 int status; ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 618 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 619 union acpi_object *obj; ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 620 union acpi_object arg0 = { ACPI_TYPE_INTEGER }; ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 621 struct acpi_object_list args = { 1, &arg0 }; ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 622 ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 623 ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 624 *edid = NULL; ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 625 ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 626 if (!device) d550d98d331737 drivers/acpi/video.c Patrick Mochel 2006-06-27 627 return -ENODEV; 25f97b27045655 drivers/acpi/acpi_video.c Mario Limonciello 2024-01-30 628 if (!length || (length % 128)) d550d98d331737 drivers/acpi/video.c Patrick Mochel 2006-06-27 629 return -EINVAL; 25f97b27045655 drivers/acpi/acpi_video.c Mario Limonciello 2024-01-30 630 arg0.integer.value = length / 128; ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 631 901302688cb85b drivers/acpi/video.c Patrick Mochel 2006-05-19 632 status = acpi_evaluate_object(device->dev->handle, "_DDC", &args, &buffer); ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 633 if (ACPI_FAILURE(status)) d550d98d331737 drivers/acpi/video.c Patrick Mochel 2006-06-27 634 return -ENODEV; ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 635 50dd096973f1d9 drivers/acpi/video.c Jan Engelhardt 2006-10-01 636 obj = buffer.pointer; ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 637 ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 638 if (obj && obj->type == ACPI_TYPE_BUFFER) ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 639 *edid = obj; ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 640 else { 25f97b27045655 drivers/acpi/acpi_video.c Mario Limonciello 2024-01-30 641 acpi_handle_debug(device->dev->handle, 25f97b27045655 drivers/acpi/acpi_video.c Mario Limonciello 2024-01-30 @642 "Invalid _DDC data for length %ld\n", length); ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 643 status = -EFAULT; ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 644 kfree(obj); ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 645 } ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 646 d550d98d331737 drivers/acpi/video.c Patrick Mochel 2006-06-27 647 return status; ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 648 } ^1da177e4c3f41 drivers/acpi/video.c Linus Torvalds 2005-04-16 649 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki