[lkml]   [2022]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: arch/parisc/math-emu/driver.c:88:17: sparse: sparse: Using plain integer as NULL pointer
The real issue is this:

../arch/parisc/math-emu/decode_exc.c: In function 'decode_fpu':
../arch/parisc/math-emu/decode_exc.c:49:25: error: expected identifier before numeric constant
49 | #define fmt 11 /* bits 19 & 20 */
| ^~
../include/linux/printk.h:391:34: note: in expansion of macro 'fmt'
391 | .fmt = __builtin_constant_p(_fmt) ? (_fmt) : NULL, \

And that's why you don't define such shortly named, ambiguous macros. The
simplest fix is probably just to have this file and others like it use _printk.

I'll send a patch and cc linux-parisc.

 \ /
  Last update: 2022-07-17 08:46    [W:0.032 / U:1.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site