raid5.c and -Werror

From: Thorsten Kranzkowski (th@Marvin.DL8BCU.ampr.org)
Date: Fri Jul 07 2000 - 04:30:11 EST


Hi again!
This time it's raid5.c:

--- linux-2.4.0-test2/drivers/block/raid5.c Thu Jul 6 18:05:57 2000
+++ linux-2.4.0-test3-pre5-work/drivers/block/raid5.c Fri Jul 7 09:26:46 2000
@@ -1674,7 +1674,7 @@
         tmp->b_data = (char *)page_address(tmp->b_page);
         if (!tmp->b_data)
                 goto out;
- md_clear_page((unsigned long)tmp->b_data);
+ md_clear_page(tmp->b_data);
         memset(bh, 0, MD_SB_DISKS * sizeof(struct buffer_head *));
         for (i = 0; i < conf->raid_disks; i++) {
                 dev = conf->disks[i].dev;

Bye,
Thorsten

-- 
| Thorsten Kranzkowski        Internet: dl8bcu@gmx.net                        |
| Mobile: ++49 170 1876134       Snail: Niemannsweg 30, 49201 Dissen, Germany |
| Ampr: dl8bcu@db0lj.#rpl.deu.eu, dl8bcu@marvin.dl8bcu.ampr.org [44.130.8.19] |

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:20 EST