Branch: refs/heads/master
  Home:   https://github.com/Linaro/odp
  Commit: 2e96afe0b7c4e7e41fb03bcda605ab704f538ca1
      
https://github.com/Linaro/odp/commit/2e96afe0b7c4e7e41fb03bcda605ab704f538ca1
  Author: Josep Puigdemont <josep.puigdem...@linaro.org>
  Date:   2018-04-17 (Tue, 17 Apr 2018)

  Changed paths:
    M platform/linux-generic/odp_ishm.c

  Log Message:
  -----------
  linux-gen: shm: check return value when registering fds

fdserver functions such as that for registering a new fd may
fail. In this case we need to check the return value and do
a cleanup of any allocated blocks and fragments.
If it fails on deregistering, just return the error code.

Signed-off-by: Josep Puigdemont <josep.puigdem...@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


Reply via email to