added warnings about @grant missing

Signed-off-by: Gerald <gera2ld@163.com>