Commit cf5b020
printk: introduce CONSOLE_LOG_MAX
Instead of using "LOG_LINE_MAX + PREFIX_MAX" for temporary buffer
sizes, introduce CONSOLE_LOG_MAX. This represents the maximum size
that is allowed to be printed to the console for a single record.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20210303101528.29901-8-john.ogness@linutronix.de1 parent 4260e0e commit cf5b020
1 file changed
Lines changed: 12 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
414 | 419 | | |
415 | 420 | | |
416 | 421 | | |
| |||
1472 | 1477 | | |
1473 | 1478 | | |
1474 | 1479 | | |
1475 | | - | |
| 1480 | + | |
1476 | 1481 | | |
1477 | 1482 | | |
1478 | 1483 | | |
1479 | | - | |
| 1484 | + | |
1480 | 1485 | | |
1481 | 1486 | | |
1482 | 1487 | | |
| |||
1542 | 1547 | | |
1543 | 1548 | | |
1544 | 1549 | | |
1545 | | - | |
| 1550 | + | |
1546 | 1551 | | |
1547 | 1552 | | |
1548 | 1553 | | |
| |||
1554 | 1559 | | |
1555 | 1560 | | |
1556 | 1561 | | |
1557 | | - | |
| 1562 | + | |
1558 | 1563 | | |
1559 | 1564 | | |
1560 | 1565 | | |
| |||
2187 | 2192 | | |
2188 | 2193 | | |
2189 | 2194 | | |
2190 | | - | |
2191 | | - | |
| 2195 | + | |
2192 | 2196 | | |
2193 | 2197 | | |
2194 | 2198 | | |
| |||
2506 | 2510 | | |
2507 | 2511 | | |
2508 | 2512 | | |
2509 | | - | |
| 2513 | + | |
2510 | 2514 | | |
2511 | 2515 | | |
2512 | 2516 | | |
| |||
0 commit comments