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>
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -1777,6 +1777,7 @@ sub dump_function($$) { · 1776 unmodified lines | |||
| 1777 | $prototype =~ s/^noinline +//; | 1777 | $prototype =~ s/^noinline +//; |
| 1778 | $prototype =~ s/__init +//; | 1778 | $prototype =~ s/__init +//; |
| 1779 | $prototype =~ s/__init_or_module +//; | 1779 | $prototype =~ s/__init_or_module +//; |
| 1780 | $prototype =~ s/__deprecated +//; | ||
| 1780 | $prototype =~ s/__flatten +//; | 1781 | $prototype =~ s/__flatten +//; |
| 1781 | $prototype =~ s/__meminit +//; | 1782 | $prototype =~ s/__meminit +//; |
| 1782 | $prototype =~ s/__must_check +//; | 1783 | $prototype =~ s/__must_check +//; |