mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 14:29:54 +02:00
Merge pull request #586 from marckleinebudde/fix-typo-update-gitignore
Fix typos and update gitignore
This commit is contained in:
@@ -16,6 +16,7 @@ tags
|
|||||||
/can-calc-bit-timing
|
/can-calc-bit-timing
|
||||||
/canbusload
|
/canbusload
|
||||||
/candump
|
/candump
|
||||||
|
/canerrsim
|
||||||
/canfdtest
|
/canfdtest
|
||||||
/cangen
|
/cangen
|
||||||
/cangw
|
/cangw
|
||||||
@@ -39,6 +40,7 @@ tags
|
|||||||
/j1939sr
|
/j1939sr
|
||||||
/j1939-timedate-cli
|
/j1939-timedate-cli
|
||||||
/j1939-timedate-srv
|
/j1939-timedate-srv
|
||||||
|
/j1939-vehicle-position-srv
|
||||||
/log2asc
|
/log2asc
|
||||||
/log2long
|
/log2long
|
||||||
/mcp251xfd-dump
|
/mcp251xfd-dump
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user