Fixing a syntax eerror and accounting for changes made in new linux kernel