That warning is because the function returns an ide_startstop_t but there
is no ending return statement. Looking at the code it is possible to
reach that particular code path. Mind doing a quick patch?
ide_startstop_t do_pdc4030_io (ide_drive_t *drive, struct request *rq)
{
<snip>
default:
printk(KERN_ERR "pdc4030: command not READ or WRITE!
Huh?\n");
ide_end_request(0, HWGROUP(drive));
break;
}
<=== [1]
}
[1] No return statement here but function is non-void (ie it should return
something)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/