[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202311040606.XL5OcR9O-lkp@intel.com>
Date: Sat, 4 Nov 2023 06:58:26 +0800
From: kernel test robot <lkp@...el.com>
To: Tony Lindgren <tony@...mide.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Janusz Krzysztofik <jmkrzyszt@...il.com>
Subject: drivers/clocksource/timer-ti-dm.c:947: warning: Function parameter
or member 'cookie' not described in 'omap_dm_timer_set_int_disable'
Hi Tony,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e392ea4d4d00880bf94550151b1ace4f88a4b17a
commit: a6e543f61531b63bfc8d43053c6ec6f65117f627 clocksource/drivers/timer-ti-dm: Move struct omap_dm_timer fields to driver
date: 1 year, 1 month ago
config: openrisc-allyesconfig (https://download.01.org/0day-ci/archive/20231104/202311040606.XL5OcR9O-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231104/202311040606.XL5OcR9O-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311040606.XL5OcR9O-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/clocksource/timer-ti-dm.c:191: warning: Function parameter or member 'val' not described in 'dmtimer_write'
drivers/clocksource/timer-ti-dm.c:191: warning: Excess function parameter 'value' description in 'dmtimer_write'
>> drivers/clocksource/timer-ti-dm.c:947: warning: Function parameter or member 'cookie' not described in 'omap_dm_timer_set_int_disable'
drivers/clocksource/timer-ti-dm.c:947: warning: Excess function parameter 'timer' description in 'omap_dm_timer_set_int_disable'
vim +947 drivers/clocksource/timer-ti-dm.c
92105bb70634aba arch/arm/plat-omap/dmtimer.c Tony Lindgren 2005-09-07 938
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 939 /**
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 940 * omap_dm_timer_set_int_disable - disable timer interrupts
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 941 * @timer: pointer to timer handle
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 942 * @mask: bit mask of interrupts to be disabled
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 943 *
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 944 * Disables the specified timer interrupts for a timer.
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 945 */
a6e543f61531b63 drivers/clocksource/timer-ti-dm.c Tony Lindgren 2022-08-15 946 static int omap_dm_timer_set_int_disable(struct omap_dm_timer *cookie, u32 mask)
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 @947 {
a6e543f61531b63 drivers/clocksource/timer-ti-dm.c Tony Lindgren 2022-08-15 948 struct dmtimer *timer;
bd351f1aee21ca6 drivers/clocksource/timer-ti-dm.c Tony Lindgren 2022-08-15 949 struct device *dev;
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 950 u32 l = mask;
bd351f1aee21ca6 drivers/clocksource/timer-ti-dm.c Tony Lindgren 2022-08-15 951 int rc;
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 952
a6e543f61531b63 drivers/clocksource/timer-ti-dm.c Tony Lindgren 2022-08-15 953 timer = to_dmtimer(cookie);
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 954 if (unlikely(!timer))
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 955 return -EINVAL;
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 956
bd351f1aee21ca6 drivers/clocksource/timer-ti-dm.c Tony Lindgren 2022-08-15 957 dev = &timer->pdev->dev;
bd351f1aee21ca6 drivers/clocksource/timer-ti-dm.c Tony Lindgren 2022-08-15 958 rc = pm_runtime_resume_and_get(dev);
bd351f1aee21ca6 drivers/clocksource/timer-ti-dm.c Tony Lindgren 2022-08-15 959 if (rc)
bd351f1aee21ca6 drivers/clocksource/timer-ti-dm.c Tony Lindgren 2022-08-15 960 return rc;
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 961
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 962 if (timer->revision == 1)
f32bdac10cb5f46 drivers/clocksource/timer-ti-dm.c Tony Lindgren 2022-08-15 963 l = dmtimer_read(timer, timer->irq_ena) & ~mask;
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 964
f32bdac10cb5f46 drivers/clocksource/timer-ti-dm.c Tony Lindgren 2022-08-15 965 dmtimer_write(timer, timer->irq_dis, l);
90c9aada19606ae drivers/clocksource/timer-ti-dm.c Tony Lindgren 2022-08-15 966 l = dmtimer_read(timer, OMAP_TIMER_WAKEUP_EN_REG) & ~mask;
49cd16bb573e43d drivers/clocksource/timer-ti-dm.c Tony Lindgren 2022-08-15 967 dmtimer_write(timer, OMAP_TIMER_WAKEUP_EN_REG, l);
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 968
bd351f1aee21ca6 drivers/clocksource/timer-ti-dm.c Tony Lindgren 2022-08-15 969 pm_runtime_put_sync(dev);
bd351f1aee21ca6 drivers/clocksource/timer-ti-dm.c Tony Lindgren 2022-08-15 970
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 971 return 0;
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 972 }
4249d96ca35a765 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-07-13 973
:::::: The code at line 947 was first introduced by commit
:::::: 4249d96ca35a765c25a70b7d29df5b6d80987c7f ARM: OMAP: Add dmtimer interrupt disable function
:::::: TO: Jon Hunter <jon-hunter@...com>
:::::: CC: Jon Hunter <jon-hunter@...com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists