diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-03 17:53:09 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-03 18:06:32 +0300 |
commit | cdb4af0fd501df6d918ff4dcde4afa6d9d5bf9d2 (patch) | |
tree | 8e93e341464346d0838fda491634e8131fc4e132 /Documentation/linux_tv/media/dvb/FE_SET_FRONTEND.rst | |
parent | dd96815f42f702a2bdfd3778e749bb91f7e50683 (diff) | |
download | linux-cdb4af0fd501df6d918ff4dcde4afa6d9d5bf9d2.tar.xz |
doc-rst: linux_tv: Error codes should be const
All error codes should be const. Most are, but there are
lots of places where we forgot to add <constant> at the DocBook.
Fix those via this small script:
for i in $(git grep -lE "\s+E[A-Z]+\b" Documentation/linux_tv/); do perl -ne 's,([^\`])\b(E[A-Z]+)\b,\1``\2``,g; print $_' <$i >a && mv a $i; done
As there are false positives, we needed to merge only the changes
that make sense, skipping the c blocks and skipping things like
EDID, EN, ETS that were also converted by the above code.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/linux_tv/media/dvb/FE_SET_FRONTEND.rst')
-rw-r--r-- | Documentation/linux_tv/media/dvb/FE_SET_FRONTEND.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/linux_tv/media/dvb/FE_SET_FRONTEND.rst b/Documentation/linux_tv/media/dvb/FE_SET_FRONTEND.rst index f18e12cb3dff..4cb393bbc2e1 100644 --- a/Documentation/linux_tv/media/dvb/FE_SET_FRONTEND.rst +++ b/Documentation/linux_tv/media/dvb/FE_SET_FRONTEND.rst @@ -68,7 +68,7 @@ appropriately. The generic error codes are described at the - .. row 1 - - EINVAL + - ``EINVAL`` - Maximum supported symbol rate reached. |