Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751121AbbEGIdQ (ORCPT ); Thu, 7 May 2015 04:33:16 -0400 Received: from cantor2.suse.de ([195.135.220.15]:48052 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750726AbbEGIdN (ORCPT ); Thu, 7 May 2015 04:33:13 -0400 Date: Thu, 7 May 2015 10:33:11 +0200 (CEST) From: Jiri Kosina To: Nicholas Mc Guire cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] HID: make timeout HZ independent In-Reply-To: <1430582115-22842-1-git-send-email-hofrat@osadl.org> Message-ID: References: <1430582115-22842-1-git-send-email-hofrat@osadl.org> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 591 Lines: 18 On Sat, 2 May 2015, Nicholas Mc Guire wrote: > wait_event_interruptible_timeout() expects a timeout in jiffies so the > numeric constant becomes HZ dependent - put it through msecs_to_jiffies() > to make it HZ independent. > > Signed-off-by: Nicholas Mc Guire Applied to for-4.2/logitech. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/