From: Balbir Singh Date: Sun, 1 Oct 2006 06:28:54 +0000 (-0700) Subject: [PATCH] Fix getdelays.c - cpumask length and error reporting X-Git-Tag: v2.6.19-rc1~536 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d1bdca9b06acb3df07329eaff72d5eaf1543287;p=pandora-kernel.git [PATCH] Fix getdelays.c - cpumask length and error reporting Fix the length passed while (un)registering cpumask. We were passing sizeof the array, make it strlen(). Error value printed in fatal errors should be derived from the message. The message contains an nlmsgerr embedded with an error value. We must report that value to the user. Signed-off-by: Balbir Singh Cc: Jamal Hadi Cc: Shailabh Nagar Cc: Thomas Graf Cc: "David S. Miller" Cc: Jay Lan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed