From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregory CLEMENT Subject: Regression with wait_event_timeout in next-20140226 Date: Wed, 26 Feb 2014 17:35:19 +0100 Message-ID: <530E17C7.1030504@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from top.free-electrons.com ([176.31.233.9]:39627 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752249AbaBZQf0 (ORCPT ); Wed, 26 Feb 2014 11:35:26 -0500 Sender: linux-next-owner@vger.kernel.org List-ID: To: "linux-kernel@vger.kernel.org" , linux-next@vger.kernel.org, Johannes Berg , Peter Zijlstra Cc: Steven Rostedt , Andrew Morton Hi, while testing next-20140226 I got an issue with the function wait_event_timeout. When this function timed out instead of returning 0, it returned the value of the timeout passed in parameter. I found that reverting "sched/wait: Suppress Sparse 'variable shadowing' warning" fixed this regression. I got this issue in the driver drivers/i2c/busses/i2c-mv64xxx.c. Thanks, Gregory -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com