Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=501cc54c4d2b0c2bbae1a6490b0e547be46fc09f
Commit:     501cc54c4d2b0c2bbae1a6490b0e547be46fc09f
Parent:     018db6bb0d726c3683a5e1eb4621e728965db94c
Author:     Dmitry Torokhov <[EMAIL PROTECTED]>
AuthorDate: Wed Jul 18 01:20:58 2007 -0400
Committer:  Dmitry Torokhov <[EMAIL PROTECTED]>
CommitDate: Wed Jul 18 01:20:58 2007 -0400

    Input: mark some functions __must_check
    
    Mark input_register_device() and input_register_handler() functions
    as __must_check so authors of new drivers add error handling right
    away.
    
    Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]>
---
 include/linux/input.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/input.h b/include/linux/input.h
index e02c6a6..adfbe4f 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -1125,10 +1125,10 @@ static inline void input_set_drvdata(struct input_dev 
*dev, void *data)
        dev->private = data;
 }
 
-int input_register_device(struct input_dev *);
+int __must_check input_register_device(struct input_dev *);
 void input_unregister_device(struct input_dev *);
 
-int input_register_handler(struct input_handler *);
+int __must_check input_register_handler(struct input_handler *);
 void input_unregister_handler(struct input_handler *);
 
 int input_register_handle(struct input_handle *);
-
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