How do i make sure i can call devinet_ioctl from kernel without having a sparse warning. The call i want to use was SIOCGIFADDR Right now i am patching it as below _devinet_ioctl(SIOCGIFADDR, &ifr) Is this the correct way ? But then I don't want to patch any core kernel files. In that case how will i achieve the results. -aneesh