Tried also optimize and clarify what youare after here,
although this is a string of 7 characters, to overwrite the
dual hardly matters :)
Probably it would have been clearer to use snprintf
with "%s " , but the solution is a bit slower though...?
Rickard Strandqvist (1):
s390: net: claw.c: Fix a define larger than in a sizeof in conjunction with
strncpy
drivers/s390/net/claw.c | 31 +++++++++++++++++++------------
1 file changed, 19 insertions(+), 12 deletions(-)
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/