]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/pci: sysfs remove strlen
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Wed, 5 Jun 2013 14:08:07 +0000 (16:08 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 10 Jun 2013 14:06:17 +0000 (16:06 +0200)
commit3ff94c00fbd273b91e9ffdae65815312f7eebb38
tree78cc775b97fe91a1bf0292b8c253997af48a250a
parentcb5fc0f42d3c45b5389b2cab9bb8de32c2081442
s390/pci: sysfs remove strlen

Get rid of the strlen calls, use the return value of sprintf instead.

Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci_sysfs.c