Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

block: remove newlines from the warnings in blk_validate_integrity_limits

Otherwise they are very hard to read in the kernel log.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20250818045456.1482889-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Christoph Hellwig and committed by
Jens Axboe
f4ae1744 61ca3b89

+3 -6
+3 -6
block/blk-settings.c
··· 157 157 switch (bi->csum_type) { 158 158 case BLK_INTEGRITY_CSUM_NONE: 159 159 if (bi->pi_tuple_size) { 160 - pr_warn("pi_tuple_size must be 0 when checksum type \ 161 - is none\n"); 160 + pr_warn("pi_tuple_size must be 0 when checksum type is none\n"); 162 161 return -EINVAL; 163 162 } 164 163 break; 165 164 case BLK_INTEGRITY_CSUM_CRC: 166 165 case BLK_INTEGRITY_CSUM_IP: 167 166 if (bi->pi_tuple_size != sizeof(struct t10_pi_tuple)) { 168 - pr_warn("pi_tuple_size mismatch for T10 PI: expected \ 169 - %zu, got %u\n", 167 + pr_warn("pi_tuple_size mismatch for T10 PI: expected %zu, got %u\n", 170 168 sizeof(struct t10_pi_tuple), 171 169 bi->pi_tuple_size); 172 170 return -EINVAL; ··· 172 174 break; 173 175 case BLK_INTEGRITY_CSUM_CRC64: 174 176 if (bi->pi_tuple_size != sizeof(struct crc64_pi_tuple)) { 175 - pr_warn("pi_tuple_size mismatch for CRC64 PI: \ 176 - expected %zu, got %u\n", 177 + pr_warn("pi_tuple_size mismatch for CRC64 PI: expected %zu, got %u\n", 177 178 sizeof(struct crc64_pi_tuple), 178 179 bi->pi_tuple_size); 179 180 return -EINVAL;