treewide: fix typos

pull/586/head
Marc Kleine-Budde 2025-03-03 10:17:19 +01:00
parent 1250c12a30
commit e8130a3575
2 changed files with 3 additions and 3 deletions

View File

@ -663,7 +663,7 @@ static int isobusfs_srv_dh_ccd_res(struct isobusfs_srv_priv *priv,
/* /*
* We assume, the relative path stored in res->name is not longer * We assume, the relative path stored in res->name is not longer
* than absolue path * than absolute path
*/ */
if (req->name_len > ISOBUSFS_SRV_MAX_PATH_LEN) { if (req->name_len > ISOBUSFS_SRV_MAX_PATH_LEN) {
pr_warn("path too long"); pr_warn("path too long");
@ -697,7 +697,7 @@ static int isobusfs_srv_dh_ccd_res(struct isobusfs_srv_priv *priv,
process_error: process_error:
if (ret < 0) { if (ret < 0) {
/* linux_error_to_isobusfs_error() can't distinguish between /* linux_error_to_isobusfs_error() can't distinguish between
* -EINVAL vor SRC and DST, so we have to do it manually. * -EINVAL for SRC and DST, so we have to do it manually.
*/ */
if (ret == -EINVAL) if (ret == -EINVAL)
error_code = ISOBUSFS_ERR_INVALID_DST_NAME; error_code = ISOBUSFS_ERR_INVALID_DST_NAME;

View File

@ -266,7 +266,7 @@ int main(int argc, char *argv[])
fprintf(stderr, "- while (1)\n"); fprintf(stderr, "- while (1)\n");
while (todo_echo || todo_recv) { while (todo_echo || todo_recv) {
/* /*
* re-use peername for storing the sender's peername of * reuse peername for storing the sender's peername of
* received packets * received packets
*/ */
if (verbose) if (verbose)