Make the addr parameter to kernacc and useracc const.