]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/dm9000x.c
spi: cadence_qspi: Fix warning cast from pointer to integer of different size
[u-boot] / drivers / net / dm9000x.c
index 3c41cec3e4d30f8b28d71a7f077a61232e302972..a6c0a2452f2c8bcb76019f2eaff401f6f760131e 100644 (file)
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
   dm9000.c: Version 1.2 12/15/2003
 
        A Davicom DM9000 ISA NIC fast Ethernet driver for Linux.
        Copyright (C) 1997  Sten Wang
 
- * SPDX-License-Identifier:    GPL-2.0+
-
   (C)Copyright 1997-1998 DAVICOM Semiconductor,Inc. All Rights Reserved.
 
 V0.11  06/20/2001      REG_0A bit3=1, default enable BP with DA match
@@ -630,7 +629,7 @@ int dm9000_initialize(bd_t *bis)
        dev->halt = dm9000_halt;
        dev->send = dm9000_send;
        dev->recv = dm9000_rx;
-       sprintf(dev->name, "dm9000");
+       strcpy(dev->name, "dm9000");
 
        eth_register(dev);