From: Martin Schwidefsky Date: Tue, 10 May 2011 15:13:42 +0000 (+0200) Subject: [S390] oprofile: fix min/max interval query checks X-Git-Tag: v2.6.39~48^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d8dcb3c76bb2930798f61675c33cce8945ab988;p=pandora-kernel.git [S390] oprofile: fix min/max interval query checks oprofile_min_interval and oprofile_max_interval are unsigned, checking for negative values doesn't work. Change hwsampler_query_min_interval and hwsampler_query_max_interval to return an unsigned long and check for a zero value instead. Reported-by: Nicolas Kaiser Acked-by: Robert Richter Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed