From: Benjamin Herrenschmidt Date: Wed, 12 Mar 2008 06:23:56 +0000 (+1100) Subject: [POWERPC] Fix viodasd driver with scatterlist debug X-Git-Tag: v2.6.25-rc6~30^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25c0a7b83297f10186a7a1ee5c563f005dfabc44;p=pandora-kernel.git [POWERPC] Fix viodasd driver with scatterlist debug The iSeries viodasd drivers does some very strange things with scatterlists, one of these causing a BUG_ON to trigger when scatterlist debugging is enabled due to initializing the scatterlist with memset instead of sg_init_table(). This fixes it by using sg_init_table(). The rest of the stuff it does to that poor list is still pretty awful but it will work. I may look into fixing things in a nicer way some other time. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed