Files
linux/drivers
Heiko Carstens ff8a58b0ae s390/sclp: add __nonstring annotation
Add __nonstring annotation, since the missing string termination for
id member of sclp_trace_entry is intended. This way we get rid of this
warning:

drivers/s390/char/sclp.c:84:9: warning: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation]
   84 |         strncpy(e.id, id, sizeof(e.id));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2021-09-08 14:23:31 +02:00
..
2021-08-20 21:11:43 +02:00
2021-06-30 15:34:19 -06:00
2021-06-17 17:37:18 -07:00
2021-08-26 11:08:32 -07:00
2021-08-27 00:27:15 +02:00
2021-08-16 11:11:06 +01:00
2021-08-30 08:55:18 -07:00
2021-06-16 08:53:58 -06:00