diff options
author | Li Zhijian <[email protected]> | 2021-10-25 11:26:57 +0800 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2021-11-30 17:29:50 -0800 |
commit | 9880eb878c315b241002d43d7ff89df23713a51b (patch) | |
tree | 7fff07967678053f4d34ebb63ff1bba9d85ccf37 /net/lapb/lapb_in.c | |
parent | c30c876312f66b0422a1d632b8c45b6416deeec0 (diff) |
refscale: Prevent buffer to pr_alert() being too long
0Day/LKP observed that the refscale results fail to complete when larger
values of nrun (such as 300) are specified. The problem is that printk()
can accept at most a 1024-byte buffer. This commit therefore prints
the buffer whenever its length exceeds 800 bytes.
CC: Philip Li <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Li Zhijian <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions