Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

RDMA/core/iwpm_msg: Add proper descriptions for 'skb' param

Fixes the following W=1 kernel build warning(s):

drivers/infiniband/core/iwpm_msg.c:402: warning: Function parameter or member 'skb' not described in 'iwpm_register_pid_cb'
drivers/infiniband/core/iwpm_msg.c:475: warning: Function parameter or member 'skb' not described in 'iwpm_add_mapping_cb'
drivers/infiniband/core/iwpm_msg.c:553: warning: Function parameter or member 'skb' not described in 'iwpm_add_and_query_mapping_cb'
drivers/infiniband/core/iwpm_msg.c:636: warning: Function parameter or member 'skb' not described in 'iwpm_remote_info_cb'
drivers/infiniband/core/iwpm_msg.c:716: warning: Function parameter or member 'skb' not described in 'iwpm_mapping_info_cb'
drivers/infiniband/core/iwpm_msg.c:773: warning: Function parameter or member 'skb' not described in 'iwpm_ack_mapping_info_cb'
drivers/infiniband/core/iwpm_msg.c:803: warning: Function parameter or member 'skb' not described in 'iwpm_mapping_error_cb'
drivers/infiniband/core/iwpm_msg.c:851: warning: Function parameter or member 'skb' not described in 'iwpm_hello_cb'

Link: https://lore.kernel.org/r/20210118223929.512175-21-lee.jones@linaro.org
Cc: Doug Ledford <dledford@redhat.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: linux-rdma@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>

authored by

Lee Jones and committed by
Jason Gunthorpe
abfa4565 db038e70

+8 -8
+8 -8
drivers/infiniband/core/iwpm_msg.c
··· 392 392 /** 393 393 * iwpm_register_pid_cb - Process the port mapper response to 394 394 * iwpm_register_pid query 395 - * @skb: 395 + * @skb: The socket buffer 396 396 * @cb: Contains the received message (payload and netlink header) 397 397 * 398 398 * If successful, the function receives the userspace port mapper pid ··· 468 468 /** 469 469 * iwpm_add_mapping_cb - Process the port mapper response to 470 470 * iwpm_add_mapping request 471 - * @skb: 471 + * @skb: The socket buffer 472 472 * @cb: Contains the received message (payload and netlink header) 473 473 */ 474 474 int iwpm_add_mapping_cb(struct sk_buff *skb, struct netlink_callback *cb) ··· 545 545 /** 546 546 * iwpm_add_and_query_mapping_cb - Process the port mapper response to 547 547 * iwpm_add_and_query_mapping request 548 - * @skb: 548 + * @skb: The socket buffer 549 549 * @cb: Contains the received message (payload and netlink header) 550 550 */ 551 551 int iwpm_add_and_query_mapping_cb(struct sk_buff *skb, ··· 627 627 /** 628 628 * iwpm_remote_info_cb - Process remote connecting peer address info, which 629 629 * the port mapper has received from the connecting peer 630 - * @skb: 630 + * @skb: The socket buffer 631 631 * @cb: Contains the received message (payload and netlink header) 632 632 * 633 633 * Stores the IPv4/IPv6 address info in a hash table ··· 706 706 /** 707 707 * iwpm_mapping_info_cb - Process a notification that the userspace 708 708 * port mapper daemon is started 709 - * @skb: 709 + * @skb: The socket buffer 710 710 * @cb: Contains the received message (payload and netlink header) 711 711 * 712 712 * Using the received port mapper pid, send all the local mapping ··· 766 766 /** 767 767 * iwpm_ack_mapping_info_cb - Process the port mapper ack for 768 768 * the provided local mapping info records 769 - * @skb: 769 + * @skb: The socket buffer 770 770 * @cb: Contains the received message (payload and netlink header) 771 771 */ 772 772 int iwpm_ack_mapping_info_cb(struct sk_buff *skb, struct netlink_callback *cb) ··· 796 796 /** 797 797 * iwpm_mapping_error_cb - Process port mapper notification for error 798 798 * 799 - * @skb: 799 + * @skb: The socket buffer 800 800 * @cb: Contains the received message (payload and netlink header) 801 801 */ 802 802 int iwpm_mapping_error_cb(struct sk_buff *skb, struct netlink_callback *cb) ··· 841 841 /** 842 842 * iwpm_hello_cb - Process a hello message from iwpmd 843 843 * 844 - * @skb: 844 + * @skb: The socket buffer 845 845 * @cb: Contains the received message (payload and netlink header) 846 846 * 847 847 * Using the received port mapper pid, send the kernel's abi_version