From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (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 B462F1E04AC for ; Wed, 6 Nov 2024 16:19:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730909966; cv=none; b=AaajaaK0nSgE8ZPXk5mVxt6aBGS9da9LNfMX6d5nyvKHCZsuj1Wv971me43ucfrzCdjpWDbOvRjHqyp5ztx7Lo9mk9daglSGbfFRlv82DLrb3AWCKescs6QI6fsKWJRJNHVg0wZMubEl87V51wdkIon06amP4/AuxFtefGeaFq4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730909966; c=relaxed/simple; bh=syEZ0PUhB/s8AY7uLWeu+hDKYqIIr8eprxynDeL1Ahk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rkRVzJPnABwCfISEwbv+bSCPDIyPGTu5iXpMZLjCmuViwtaNmFmwqrBqybH5hhBKUL5kyzCfxdHcuOKW3e8iIfVDExt20n7bAsjsNZEynYWwYAQ3yhzSlVh/736QW2ALwIfedjwkv2MAPpD4+2DEjnO09567BZd/kYfoNccxjIc= 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=ee9ZOa0y; arc=none smtp.client-ip=192.198.163.14 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="ee9ZOa0y" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1730909964; x=1762445964; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=syEZ0PUhB/s8AY7uLWeu+hDKYqIIr8eprxynDeL1Ahk=; b=ee9ZOa0yXG9egZfPRIor7J2PFuWcpuXgraO/2b1ObkN3KOzym25+WnlC Jp3zZsxSGUol1xK38VhVJ3Sg7MQsuSEQK1ByHuxh2AL6kWbcZMO+Th9uQ NQshUjWPgOPBFd6/sQ8aiL/+6Dj+kOiLrP/MtVZawg27lV3TAp+2qCKiu fGQMFxqBO6j9eMHw6jIXKVRZXqY7JGtpsyhFm1RZeVQMBapPhXkXBeKCX rQYnkO8KnDw6VHSrgyehhRmgzeQdvED34sF1DJSqW7ATbdUSmNgL/oVbe NZ3ZHn7CyoTpbUvliV60W7Ve76etT7uitv0MN/CeW9fW76cpUpKeuFyXF w==; X-CSE-ConnectionGUID: D2UeBo5nTli0h7kVP6Ch5A== X-CSE-MsgGUID: nZNbRVq/SWqMvhovphOvjQ== X-IronPort-AV: E=McAfee;i="6700,10204,11248"; a="30934260" X-IronPort-AV: E=Sophos;i="6.11,263,1725346800"; d="scan'208";a="30934260" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2024 08:19:24 -0800 X-CSE-ConnectionGUID: lhPZUfgZRP+LsZXDQg+Ong== X-CSE-MsgGUID: l2Tmkid3R9mXOwIn9SXByg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,263,1725346800"; d="scan'208";a="88587679" Received: from lkp-server01.sh.intel.com (HELO a48cf1aa22e8) ([10.239.97.150]) by fmviesa003.fm.intel.com with ESMTP; 06 Nov 2024 08:19:22 -0800 Received: from kbuild by a48cf1aa22e8 with local (Exim 4.96) (envelope-from ) id 1t8ika-000p7A-0d; Wed, 06 Nov 2024 16:19:20 +0000 Date: Thu, 7 Nov 2024 00:19:02 +0800 From: kernel test robot To: Luca Ceresoli , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter Cc: oe-kbuild-all@lists.linux.dev, Thomas Petazzoni , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Luca Ceresoli Subject: Re: [PATCH v2 3/4] drm/mode_object: add drm_mode_object_read_refcount() Message-ID: <202411070038.tZJzI7NC-lkp@intel.com> References: <20241106-drm-small-improvements-v2-3-f6e2aef86719@bootlin.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: <20241106-drm-small-improvements-v2-3-f6e2aef86719@bootlin.com> Hi Luca, kernel test robot noticed the following build warnings: [auto build test WARNING on 42f7652d3eb527d03665b09edac47f85fb600924] url: https://github.com/intel-lab-lkp/linux/commits/Luca-Ceresoli/drm-drm_mode_object-fix-typo-in-kerneldoc/20241106-185032 base: 42f7652d3eb527d03665b09edac47f85fb600924 patch link: https://lore.kernel.org/r/20241106-drm-small-improvements-v2-3-f6e2aef86719%40bootlin.com patch subject: [PATCH v2 3/4] drm/mode_object: add drm_mode_object_read_refcount() config: arc-randconfig-002-20241106 (https://download.01.org/0day-ci/archive/20241107/202411070038.tZJzI7NC-lkp@intel.com/config) compiler: arc-elf-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241107/202411070038.tZJzI7NC-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/202411070038.tZJzI7NC-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/drm_mode_object.c:228: warning: expecting prototype for drm_mode_object_get(). Prototype was for drm_mode_object_read_refcount() instead vim +228 drivers/gpu/drm/drm_mode_object.c 219 220 /** 221 * drm_mode_object_get - read the refcount for a mode object 222 * @obj: DRM mode object 223 * 224 * This function returns the current object's refcount if it is a 225 * refcounted modeset object, or 0 on any other object. 226 */ 227 unsigned int drm_mode_object_read_refcount(struct drm_mode_object *obj) > 228 { 229 unsigned int refcount = 0; 230 231 if (obj->free_cb) { 232 refcount = kref_read(&obj->refcount); 233 DRM_DEBUG("OBJ ID: %d (%d)\n", obj->id, refcount); 234 } 235 236 return refcount; 237 } 238 EXPORT_SYMBOL(drm_mode_object_read_refcount); 239 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki