aboutsummaryrefslogtreecommitdiffstats
path: root/lib/vsprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vsprintf.c')
-rw-r--r--lib/vsprintf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index 8f56cdd52149..77ee6ced11b1 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -42,7 +42,6 @@
42#include "../mm/internal.h" /* For the trace_print_flags arrays */ 42#include "../mm/internal.h" /* For the trace_print_flags arrays */
43 43
44#include <asm/page.h> /* for PAGE_SIZE */ 44#include <asm/page.h> /* for PAGE_SIZE */
45#include <asm/sections.h> /* for dereference_function_descriptor() */
46#include <asm/byteorder.h> /* cpu_to_le16 */ 45#include <asm/byteorder.h> /* cpu_to_le16 */
47 46
48#include <linux/string_helpers.h> 47#include <linux/string_helpers.h>
@@ -1863,10 +1862,10 @@ char *pointer(const char *fmt, char *buf, char *end, void *ptr,
1863 switch (*fmt) { 1862 switch (*fmt) {
1864 case 'F': 1863 case 'F':
1865 case 'f': 1864 case 'f':
1866 ptr = dereference_function_descriptor(ptr);
1867 /* Fallthrough */
1868 case 'S': 1865 case 'S':
1869 case 's': 1866 case 's':
1867 ptr = dereference_symbol_descriptor(ptr);
1868 /* Fallthrough */
1870 case 'B': 1869 case 'B':
1871 return symbol_string(buf, end, ptr, spec, fmt); 1870 return symbol_string(buf, end, ptr, spec, fmt);
1872 case 'R': 1871 case 'R':