1. 23 7月, 2016 2 次提交
    • M
      Merge branch 'docs-next' of git://git.lwn.net/linux into topic/docs-next · 7e5b7d1b
      Mauro Carvalho Chehab 提交于
      * 'docs-next' of git://git.lwn.net/linux:
        doc-rst: kernel-doc: fix handling of address_space tags
        Revert "doc/sphinx: Enable keep_warnings"
        doc-rst: kernel-doc directive, fix state machine reporter
        docs: deprecate kernel-doc-nano-HOWTO.txt
        doc/sphinx: Enable keep_warnings
        Documentation: add watermark_scale_factor to the list of vm systcl file
        kernel-doc: Fix up warning output
        docs: Get rid of some kernel-documentation warnings
      7e5b7d1b
    • M
      doc-rst: kernel-doc: fix handling of address_space tags · a88b1672
      Mauro Carvalho Chehab 提交于
      The RST cpp:function handler is very pedantic: it doesn't allow any
      macros like __user on it:
      
      	Documentation/media/kapi/dtv-core.rst:28: WARNING: Error when parsing function declaration.
      	If the function has no return type:
      	  Error in declarator or parameters and qualifiers
      	  Invalid definition: Expecting "(" in parameters_and_qualifiers. [error at 8]
      	    ssize_t dvb_ringbuffer_pkt_read_user (struct dvb_ringbuffer * rbuf, size_t idx, int offset, u8 __user * buf, size_t len)
      	    --------^
      	If the function has a return type:
      	  Error in declarator or parameters and qualifiers
      	  If pointer to member declarator:
      	    Invalid definition: Expected '::' in pointer to member (function). [error at 37]
      	      ssize_t dvb_ringbuffer_pkt_read_user (struct dvb_ringbuffer * rbuf, size_t idx, int offset, u8 __user * buf, size_t len)
      	      -------------------------------------^
      	  If declarator-id:
      	    Invalid definition: Expecting "," or ")" in parameters_and_qualifiers, got "*". [error at 102]
      	      ssize_t dvb_ringbuffer_pkt_read_user (struct dvb_ringbuffer * rbuf, size_t idx, int offset, u8 __user * buf, size_t len)
      	      ------------------------------------------------------------------------------------------------------^
      
      So, we have to remove it from the function prototype.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      a88b1672
  2. 21 7月, 2016 3 次提交
  3. 20 7月, 2016 2 次提交
  4. 19 7月, 2016 15 次提交
  5. 18 7月, 2016 18 次提交