https://github.com/torvalds/linux
Revision f4602cbb0a2478dda8238a4f382867da425daa8e authored by Jason Gunthorpe on 22 May 2018, 21:56:51 UTC, committed by Jason Gunthorpe on 23 May 2018, 21:25:53 UTC
The err pointer comes from uverbs_attr_get, not from the uobject member,
which does not store an ERR_PTR.

Fixes: be934cca9e98 ("IB/uverbs: Add device memory registration ioctl support")
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
1 parent 30bf066
Raw File
Tip revision: f4602cbb0a2478dda8238a4f382867da425daa8e authored by Jason Gunthorpe on 22 May 2018, 21:56:51 UTC
IB/uverbs: Fix uverbs_attr_get_obj
Tip revision: f4602cb
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
back to top