File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -157,25 +157,22 @@ static int blk_validate_integrity_limits(struct queue_limits *lim)
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 ;
173
171
}
174
172
break ;
175
173
case BLK_INTEGRITY_CSUM_CRC64 :
176
174
if (bi -> pi_tuple_size != sizeof (struct crc64_pi_tuple )) {
177
- pr_warn ("pi_tuple_size mismatch for CRC64 PI: \
178
- expected %zu, got %u\n" ,
175
+ pr_warn ("pi_tuple_size mismatch for CRC64 PI: expected %zu, got %u\n" ,
179
176
sizeof (struct crc64_pi_tuple ),
180
177
bi -> pi_tuple_size );
181
178
return - EINVAL ;
You can’t perform that action at this time.
0 commit comments