commit | fe174357eb2deb184c93269846c92adf5743115b | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Tue Feb 12 14:38:22 2008 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Tue Feb 12 14:38:22 2008 -0800 |
tree | f034fd33459be36d5d2f47d176fee8ed79b7c7af | |
parent | 96b5a46e2a72dc1829370c87053e0cd558d58bc0 [diff] |
IB/mthca: Add missing sg_init_table() in mthca_map_user_db() Usually harmless, since the scatterlist is always hard-coded to a length of 1, but it triggers a BUG() if CONFIG_DEBUG_SG=y, so we better fix it. This fixes <http://bugzilla.kernel.org/show_bug.cgi?id=9934>. Signed-off-by: Roland Dreier <rolandd@cisco.com>