Commit 7615da2b authored by Tomas Winkler's avatar Tomas Winkler Committed by Greg Kroah-Hartman

mei: document that mei_msg_hdr_init returns ERR_PTR

Document that mei_msg_hdr_init returns ERR_PTR.
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20210129120752.850325-2-tomas.winkler@intel.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1309ecc9
...@@ -1737,7 +1737,7 @@ static inline u8 mei_ext_hdr_set_vtag(struct mei_ext_hdr *ext, u8 vtag) ...@@ -1737,7 +1737,7 @@ static inline u8 mei_ext_hdr_set_vtag(struct mei_ext_hdr *ext, u8 vtag)
* *
* @cb: message callback structure * @cb: message callback structure
* *
* Return: a pointer to initialized header * Return: a pointer to initialized header or ERR_PTR on failure
*/ */
static struct mei_msg_hdr *mei_msg_hdr_init(const struct mei_cl_cb *cb) static struct mei_msg_hdr *mei_msg_hdr_init(const struct mei_cl_cb *cb)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment