]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/firewire/fw-transaction.h
b43legacy: Fix module init message
[mv-sheeva.git] / drivers / firewire / fw-transaction.h
index 5abed193f4a65deb8c6ab3f27355a03a9d3092e8..fa7967b57408586359f70ae5bc610f39d7a55223 100644 (file)
@@ -123,6 +123,10 @@ typedef void (*fw_transaction_callback_t)(struct fw_card *card, int rcode,
                                          size_t length,
                                          void *callback_data);
 
+/*
+ * Important note:  The callback must guarantee that either fw_send_response()
+ * or kfree() is called on the @request.
+ */
 typedef void (*fw_address_callback_t)(struct fw_card *card,
                                      struct fw_request *request,
                                      int tcode, int destination, int source,
@@ -227,7 +231,7 @@ struct fw_card {
        unsigned long reset_jiffies;
 
        unsigned long long guid;
-       int max_receive;
+       unsigned max_receive;
        int link_speed;
        int config_rom_generation;