RDMA/hns: Fix an error code in hns_roce_set_user_sq_size()
Dan Carpenter authored

This function is supposed to return negative kernel error codes but here
it returns CMD_RST_PRC_EBUSY (2).  The error code eventually gets passed
to IS_ERR() and since it's not an error pointer it leads to an Oops in
hns_roce_v1_rsv_lp_qp()
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
b417c087
Name Last commit Last update
Documentation rdma: Remove nes
LICENSES LICENSES: Rename other to deprecated
arch Merge branch 'akpm' (patches from Andrew)
block Merge tag 'for-5.2/block-post-20190516' of git://git.kernel.dk/linux-block
certs kexec, KEYS: Make use of platform keyring for signature verify
crypto Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
drivers RDMA/hns: Fix an error code in hns_roce_set_user_sq_size()
fs Merge tag 'upstream-5.2-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs
include RDMA/mlx5: Remove unused IB_WR_REG_SIG_MR code
init initramfs: don't free a non-existent initrd
ipc ipc: do cyclic id allocation for the ipc object.
kernel Merge branch 'akpm' (patches from Andrew)
lib slab: remove /proc/slab_allocators
mm Merge branch 'akpm' (patches from Andrew)
net Merge remote-tracking branch 'mlx5-next/mlx5-next' into HEAD
samples samples: guard sub-directories with CONFIG options
scripts kconfig: use 'else ifneq' for Makefile to improve readability
security Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
sound Merge tag 'sound-fix-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
tools Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
usr user/Makefile: Fix typo and capitalization in comment section
virt Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
.clang-format Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
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.

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.