linux/drivers/s390
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
..
block s390: remove xpram device driver 2021-09-07 13:38:42 +02:00
char s390/sclp: add __nonstring annotation 2021-09-08 14:23:31 +02:00
cio s390/cio: fix kernel doc comment 2021-09-07 13:38:42 +02:00
crypto s390/ap: fix state machine hang after failure to enable irq 2021-08-26 20:22:12 +02:00
net s390 updates for 5.15 merge window 2021-08-30 13:07:15 -07:00
scsi s390/qdio: clarify reporting of errors to the drivers 2021-07-27 09:39:18 +02:00
virtio virtio/s390: get rid of open-coded kvm hypercall 2021-06-28 11:18:28 +02:00
Makefile