Agreed, I will change g_ril_request_* return value check. However, for g_ril_reply_*, comparing a pointer return value explicitly to NULL is mandatory following ofono/doc/coding-style.txt, M13.