On Fri, Jun 30, 2017 at 11:15 AM, Dan Jurgens <[email protected]> wrote: > From: Daniel Jurgens <[email protected]> > > ib_get_cached_subnet_prefix can technically fail, but the only way it > could is not possible based on the loop conditions. Check the return > value before using the variable sp to resolve a static analysis warning. > > Fixes: 8f408ab64be6 ("selinux lsm IB/core: Implement LSM notification > system") > Signed-off-by: Daniel Jurgens <[email protected]> > Reported-by: Dan Carpenter <[email protected]> > --- > drivers/infiniband/core/device.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)
Similar question as with the other fix: SELinux tree or IB/RDMA tree? -- paul moore www.paul-moore.com
