Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
ata: libata-core: Fix the ata_host_register() kdoc
ata_host_register() does not start the ports of the host, it requires them to have been started already: /* host must have been started */ if (!(host->flags & ATA_HOST_STARTED)) { dev_err(host->dev, "BUG: trying to register unstarted host\n"); WARN_ON(1); return -EINVAL; } Fix the kdoc accordingly, and fix the grammar of the last sentence while at it. Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Link: https://lore.kernel.org/r/20260915084127.692494-14-cassel@kernel.org Signed-off-by: Niklas Cassel <cassel@kernel.org>
Author Niklas Cassel Date (Sep 15, 2026, 9:56 AM UTC) Commit
Copy SHA
Parent d2f97700 d2f977008cbbae195df678ee1e70e5802f9bd0b8