Request the return value of the operation from the kernel and check if it's an error, to inform the user about e.g. not having sufficient permission. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>