All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Leonardo Gomes <leonardodasigomes@gmail.com>,
	harry.wentland@amd.com, sunpeng.li@amd.com,
	alexander.deucher@amd.com, christian.koenig@amd.com,
	airlied@gmail.com, simona@ffwll.ch
Cc: oe-kbuild-all@lists.linux.dev, derick.william.moraes@gmail.com,
	Leonardo Gomes <leonardodasigomes@gmail.com>,
	amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 1/2 RESEND] drm/amd/display: Adjust get_value function with prefix to help in ftrace
Date: Fri, 16 May 2025 20:48:59 +0800	[thread overview]
Message-ID: <202505162041.ftJ48E6X-lkp@intel.com> (raw)
In-Reply-To: <20250514174306.82693-1-leonardodasigomes@gmail.com>

Hi Leonardo,

kernel test robot noticed the following build errors:

[auto build test ERROR on drm-exynos/exynos-drm-next]
[also build test ERROR on linus/master drm/drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-misc/drm-misc-next drm-tip/drm-tip v6.15-rc6 next-20250515]
[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/Leonardo-Gomes/drm-amd-display-Adjust-set_value-function-with-prefix-to-help-in-ftrace/20250515-151114
base:   https://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git exynos-drm-next
patch link:    https://lore.kernel.org/r/20250514174306.82693-1-leonardodasigomes%40gmail.com
patch subject: [PATCH 1/2 RESEND] drm/amd/display: Adjust get_value function with prefix to help in ftrace
config: sparc-allmodconfig (https://download.01.org/0day-ci/archive/20250516/202505162041.ftJ48E6X-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250516/202505162041.ftJ48E6X-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505162041.ftJ48E6X-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/hw_hpd.c:65:25: error: static declaration of 'dal_hw_gpio_get_value' follows non-static declaration
      65 | static enum gpio_result dal_hw_gpio_get_value(
         |                         ^~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/hw_hpd.c:30:
   drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/hw_gpio.h:122:18: note: previous declaration of 'dal_hw_gpio_get_value' with type 'enum gpio_result(const struct hw_gpio_pin *, uint32_t *)' {aka 'enum gpio_result(const struct hw_gpio_pin *, unsigned int *)'}
     122 | enum gpio_result dal_hw_gpio_get_value(
         |                  ^~~~~~~~~~~~~~~~~~~~~


vim +/dal_hw_gpio_get_value +65 drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/hw_hpd.c

    64	
  > 65	static enum gpio_result dal_hw_gpio_get_value(
    66		const struct hw_gpio_pin *ptr,
    67		uint32_t *value)
    68	{
    69		struct hw_hpd *hpd = HW_HPD_FROM_BASE(ptr);
    70		uint32_t hpd_delayed = 0;
    71	
    72		/* in Interrupt mode we ask for SENSE bit */
    73	
    74		if (ptr->mode == GPIO_MODE_INTERRUPT) {
    75	
    76			REG_GET(int_status,
    77				DC_HPD_SENSE_DELAYED, &hpd_delayed);
    78	
    79			*value = hpd_delayed;
    80			return GPIO_RESULT_OK;
    81		}
    82	
    83		/* in any other modes, operate as normal GPIO */
    84	
    85		return dal_hw_gpio_get_value(ptr, value);
    86	}
    87	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2025-05-16 12:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-14 17:42 [PATCH 1/2 RESEND] drm/amd/display: Adjust get_value function with prefix to help in ftrace Leonardo Gomes
2025-05-14 17:42 ` [PATCH 2/2 RESEND] drm/amd/display: Adjust set_value " Leonardo Gomes
2025-05-14 21:07 ` [PATCH 1/2 RESEND] drm/amd/display: Adjust get_value " Alex Deucher
2025-05-16  1:23   ` Leonardo Gomes
2025-05-16 16:56     ` Alex Deucher
2025-05-17 14:24       ` Leonardo Gomes
2025-05-16 12:48 ` kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-17 14:20 Leonardo Gomes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202505162041.ftJ48E6X-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=airlied@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    --cc=derick.william.moraes@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=harry.wentland@amd.com \
    --cc=leonardodasigomes@gmail.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=simona@ffwll.ch \
    --cc=sunpeng.li@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.