The current linux-next tree has a new error: ./Documentation/gpu/drm-mm:445: ./drivers/gpu/drm/drm_prime.c:994: WARNING: Error in declarator or parameters Invalid C declaration: Expecting "(" in parameters. [error at 17] int __deprecated drm_prime_sg_to_page_array (struct sg_table *sgt, struct page **pages, int max_entries) -----------------^ While we might consider that documenting a deprecated interface is not necessarily best practice, removing the error is easy. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Unified · Split
| @@ -1777,6 +1777,7 @@ sub dump_function($$) { · 1776 unmodified lines | ||
| 1777 | 1777 | $prototype =~ s/^noinline +//; |
| 1778 | 1778 | $prototype =~ s/__init +//; |
| 1779 | 1779 | $prototype =~ s/__init_or_module +//; |
| 1780 | + $prototype =~ s/__deprecated +//; | |
| 1780 | 1781 | $prototype =~ s/__flatten +//; |
| 1781 | 1782 | $prototype =~ s/__meminit +//; |
| 1782 | 1783 | $prototype =~ s/__must_check +//; |