Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=44aaa9384faf68717cf3828dce6f8171a0a5d7bf
Commit:     44aaa9384faf68717cf3828dce6f8171a0a5d7bf
Parent:     3d0fd333a1c2659fb0495894090d1146b239fd9a
Author:     Vasily Averin <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 17 04:04:27 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Jul 17 10:23:06 2007 -0700

    i2o proc reading oops
    
    Fix oops on reading from some i2o proc files (i2o_seq_show_driver_store() 
and
    other) because their handlers uses "exec" field in struct i2o_controller
    
    Signed-off-by: Vasily Averin <[EMAIL PROTECTED]>
    Acked-by: Alan Cox <[EMAIL PROTECTED]>
    Cc: Markus Lidel <[EMAIL PROTECTED]>
    Acked-by: Kirill Korotaev <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/message/i2o/exec-osm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/message/i2o/exec-osm.c b/drivers/message/i2o/exec-osm.c
index 809d4b6..8c83ee3 100644
--- a/drivers/message/i2o/exec-osm.c
+++ b/drivers/message/i2o/exec-osm.c
@@ -339,6 +339,8 @@ static int i2o_exec_probe(struct device *dev)
        rc = device_create_file(dev, &dev_attr_product_id);
        if (rc) goto err_vid;
 
+       i2o_dev->iop->exec = i2o_dev;
+
        return 0;
 
 err_vid:
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to