MAX_ATTEMPTS
while (attempts < MAX_ATTEMPTS) {
if (attempts == MAX_ATTEMPTS) {
err_print(MAX_ATTEMPTS, devlink, contents);