* [PATCH] Removal of unexpected indentation error
@ 2024-08-03 18:33 Shibu Kumar
2024-08-07 19:29 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Shibu Kumar @ 2024-08-03 18:33 UTC (permalink / raw)
To: =agk, snitzer, mpatocka, corbet
Cc: Shibu Kumar, dm-devel, linux-doc, linux-kernel
While building kernel documention using make htmldocs command, I was getting unexpected indentation error. Single description was given for two module parameters with wrong indentation.So,I corrected the indentation of both the parameter and description and also added the description separately for both the module param.
Signed-off-by: Shibu kumar shibukumar.bit@gmail.com
---
.../admin-guide/device-mapper/dm-crypt.rst | 20 ++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/Documentation/admin-guide/device-mapper/dm-crypt.rst b/Documentation/admin-guide/device-mapper/dm-crypt.rst
index e625830d335e..48a48bd09372 100644
--- a/Documentation/admin-guide/device-mapper/dm-crypt.rst
+++ b/Documentation/admin-guide/device-mapper/dm-crypt.rst
@@ -162,13 +162,19 @@ iv_large_sectors
Module parameters::
-max_read_size
-max_write_size
- Maximum size of read or write requests. When a request larger than this size
- is received, dm-crypt will split the request. The splitting improves
- concurrency (the split requests could be encrypted in parallel by multiple
- cores), but it also causes overhead. The user should tune these parameters to
- fit the actual workload.
+ max_read_size
+ Maximum size of read requests. When a request larger than this size
+ is received, dm-crypt will split the request. The splitting improves
+ concurrency (the split requests could be encrypted in parallel by multiple
+ cores), but it also causes overhead. The user should tune this parameters to
+ fit the actual workload.
+
+ max_write_size
+ Maximum size of write requests. When a request larger than this size
+ is received, dm-crypt will split the request. The splitting improves
+ concurrency (the split requests could be encrypted in parallel by multiple
+ cores), but it also causes overhead. The user should tune this parameters to
+ fit the actual workload.
Example scripts
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Removal of unexpected indentation error
2024-08-03 18:33 [PATCH] Removal of unexpected indentation error Shibu Kumar
@ 2024-08-07 19:29 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2024-08-07 19:29 UTC (permalink / raw)
To: Shibu Kumar, agk, snitzer, mpatocka
Cc: Shibu Kumar, dm-devel, linux-doc, linux-kernel
Shibu Kumar <shibukumar.bit@gmail.com> writes:
> While building kernel documention using make htmldocs command, I was getting unexpected indentation error. Single description was given for two module parameters with wrong indentation.So,I corrected the indentation of both the parameter and description and also added the description separately for both the module param.
>
> Signed-off-by: Shibu kumar shibukumar.bit@gmail.com
> ---
> .../admin-guide/device-mapper/dm-crypt.rst | 20 ++++++++++++-------
> 1 file changed, 13 insertions(+), 7 deletions(-)
Thanks for your patch, I have applied it. Please keep the following in
mind for future changes, though:
- A patch should make a single change; this one made two (fixing the
indentation error and splitting the documentation for the two
parameters). For anything more significant than this, combining two
changes in this way could have resulted in the patch being rejected.
- Please read our documentation on the writing of commit messages
(Documentation/process/submitting-patches.rst in particular) and
line-wrap your changelogs at a reasonable length.
I rewrote the changelog as:
> docs: dm-crypt: Removal of unexpected indentation error
>
> Add the required indentation to fix this docs build error:
>
> Documentation/admin-guide/device-mapper/dm-crypt.rst:167: ERROR: Unexpected indentation.
>
> Also split the documentation for read and write into separate blocks.
Thanks,
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-07 19:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-03 18:33 [PATCH] Removal of unexpected indentation error Shibu Kumar
2024-08-07 19:29 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).