tree: https://git.linaro.org/people/tixy/kernel integration-linaro-vexpress64 head: 767452a1ba48d05ee26d47c5a5ce1f6d6589495c commit: 1062f9781924f211b3f55b8d830ea3e489f5bab4 [138/644] netfilter: xt_IDLETIMER: Add new netlink msg type
net/netfilter/xt_IDLETIMER.c:131 idletimer_tg_show() error: we previously assumed 'timer' could be null (see line 122) git remote add tixy https://git.linaro.org/people/tixy/kernel git remote update tixy git checkout 1062f9781924f211b3f55b8d830ea3e489f5bab4 vim +/timer +131 net/netfilter/xt_IDLETIMER.c 0902b469 Luciano Coelho 2010-06-15 116 unsigned long expires = 0; 1062f978 JP Abgrall 2012-04-26 117 unsigned long now = jiffies; 0902b469 Luciano Coelho 2010-06-15 118 0902b469 Luciano Coelho 2010-06-15 119 mutex_lock(&list_mutex); 0902b469 Luciano Coelho 2010-06-15 120 0902b469 Luciano Coelho 2010-06-15 121 timer = __idletimer_tg_find_by_label(attr->name); 0902b469 Luciano Coelho 2010-06-15 @122 if (timer) 0902b469 Luciano Coelho 2010-06-15 123 expires = timer->timer.expires; 0902b469 Luciano Coelho 2010-06-15 124 0902b469 Luciano Coelho 2010-06-15 125 mutex_unlock(&list_mutex); 0902b469 Luciano Coelho 2010-06-15 126 1062f978 JP Abgrall 2012-04-26 127 if (time_after(expires, now)) 0902b469 Luciano Coelho 2010-06-15 128 return sprintf(buf, "%u\n", 1062f978 JP Abgrall 2012-04-26 129 jiffies_to_msecs(expires - now) / 1000); 0902b469 Luciano Coelho 2010-06-15 130 1062f978 JP Abgrall 2012-04-26 @131 if (timer->send_nl_msg) 1062f978 JP Abgrall 2012-04-26 132 return sprintf(buf, "0 %d\n", 1062f978 JP Abgrall 2012-04-26 133 jiffies_to_msecs(now - expires) / 1000); 1062f978 JP Abgrall 2012-04-26 134 else --- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation _______________________________________________ kbuild mailing list kbuild@lists.01.org https://lists.01.org/mailman/listinfo/kbuild