[PATCH] scripts: Add a script to find unused documentation

2017-09-09 Thread sayli karnik
Add a script that finds files with kernel-doc comments for imported functions that are not included anywhere in documentation. Signed-off-by: sayli karnik --- scripts/find-unused-docs.sh | 62 + 1 file changed, 62 insertions(+) create mode 100755

[PATCH] fs: jbd2: transaction: Add kernel-doc parameter descriptions

2017-06-25 Thread sayli karnik
Add function parameters in kernel-doc comments to fix warnings in the Sphinx build: transaction.c:511: warning: No description found for parameter 'type' transaction.c:511: warning: No description found for parameter 'line_no' Signed-off-by: sayli karnik --- fs/jbd2/transact

[PATCH] drivers: net: phy: Correct kernel-doc comment parameter

2017-06-16 Thread sayli karnik
'phy_lookup_setting' Signed-off-by: sayli karnik --- drivers/net/phy/phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 82ab8fb..7524caa 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -241,7

[PATCH] include: linux: mod_devicetable: Remove excess description from structured comment

2017-06-16 Thread sayli karnik
Remove excess member description to fix following warnings in sphinx build: Excess struct/union/enum/typedef member 'ver_major' description in 'fsl_mc_device_id' Excess struct/union/enum/typedef member 'ver_minor' description in 'fsl_mc_device_id' Signed-

[PATCH] Documentation: seq_file: Convert seq_file to rst format

2017-06-05 Thread sayli karnik
Add seq_file.rst to a filesystems subsection in the docs tree. Signed-off-by: sayli karnik --- Documentation/core-api/filesystems/seq_file.rst | 354 Documentation/core-api/index.rst| 1 + 2 files changed, 355 insertions(+) create mode 100644

[PATCH v2] Documentation: Add flexible-arrays.rst to the documentation tree

2017-03-29 Thread sayli karnik
Add flexible-arrays.rst to Documentation/core-api. Add kernel-doc comments to allow referencing. Signed-off-by: sayli karnik --- Changes in v2: -Removed default comment by sphinx and author's name -Added :c:func:`vmalloc()` -Added the parenthesis in :c:func:`func()` -Edited spacing and

[PATCH 3/3] Documentation: cpu-freq: cpu-drivers: Fix repetition of word 'to'

2017-03-08 Thread sayli karnik
The patch replaces 'to to' with 'to' in the documentation. Signed-off-by: sayli karnik --- Documentation/cpu-freq/cpu-drivers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/cpu-freq/cpu-drivers.txt b/Documentation/cpu-freq/cpu-drive

[PATCH 0/3] Fix unintentional repetition of words

2017-03-08 Thread sayli karnik
Fix typos in the form of consecutive repetition of words. sayli karnik (3): Documentation: phy: Fix repetition of word 'the' Documentation: ABI: testing: sysfs-bus-pci: Fix repetition of word 'the' Documentation: cpu-freq: cpu-drivers: Fix repetition of word 

[PATCH 2/3] Documentation: ABI: testing: sysfs-bus-pci: Fix repetition of word 'the'

2017-03-08 Thread sayli karnik
The patch replaces 'the the' with 'the' in the documentation. Signed-off-by: sayli karnik --- Documentation/ABI/testing/sysfs-bus-pci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing

[PATCH 1/3] Documentation: phy: Fix repetition of word 'the'

2017-03-08 Thread sayli karnik
The patch replaces 'the the' with 'the' in the documantation. Signed-off-by: sayli karnik --- Documentation/phy.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/phy.txt b/Documentation/phy.txt index 0aa994b..383cdd8 100644 --- a/Documen

[PATCH] staging: xgifb: XGI_main_26: Remove multiple assignments

2017-01-27 Thread sayli karnik
This patch resolves the checkpatch issue: multiple assignments should be avoided Signed-off-by: sayli karnik --- drivers/staging/xgifb/XGI_main_26.c | 31 +-- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/drivers/staging/xgifb/XGI_main_26.c b