Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1262910

Re: [PATCH] alarmtimer: fix unexpected rtc interrupt when system resume

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] alarmtimer: fix unexpected rtc interrupt when system resume
Date 2015-11-05 06:10 +0100
Message-ID <qrkY9-2c9-3@gated-at.bofh.it> (permalink)
References <qri0h-8r0-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi zhuo-hao,

[auto build test ERROR on: tip/timers/core]
[also build test ERROR on: v4.3 next-20151104]

url:    https://github.com/0day-ci/linux/commits/zhuo-hao-lee-intel-com/alarmtimer-fix-unexpected-rtc-interrupt-when-system-resume/20151105-124811
config: i386-randconfig-x009-11010709 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   kernel/time/alarmtimer.c: In function 'alarmtimer_resume':
>> kernel/time/alarmtimer.c:280:9: error: void value not ignored as it ought to be
     return rtc ? rtc_timer_cancel(rtc, &rtctimer) : 0;
            ^
>> kernel/time/alarmtimer.c:281:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +280 kernel/time/alarmtimer.c

   274	
   275	static int alarmtimer_resume(struct device *dev)
   276	{
   277		struct rtc_device *rtc;
   278	
   279		rtc = alarmtimer_get_rtcdev();
 > 280		return rtc ? rtc_timer_cancel(rtc, &rtctimer) : 0;
 > 281	}
   282	
   283	#else
   284	static int alarmtimer_suspend(struct device *dev)

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] alarmtimer: fix unexpected rtc interrupt when system resume zhuo-hao.lee@intel.com - 2015-11-05 03:00 +0100
  Re: [PATCH] alarmtimer: fix unexpected rtc interrupt when system  resume kbuild test robot <lkp@intel.com> - 2015-11-05 06:10 +0100
  Re: [PATCH] alarmtimer: fix unexpected rtc interrupt when system  resume kbuild test robot <lkp@intel.com> - 2015-11-05 06:50 +0100

csiph-web