hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/isdn/hardware/mISDN/hfcmulti.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * hfcmulti.c low level driver for hfc-4s/hfc-8s/hfc-e1 based cards
34 *
....@@ -9,21 +10,6 @@
910 * Copyright 1999 by Werner Cornelius (werner@isdn-development.de)
1011 * Copyright 2008 by Karsten Keil (kkeil@suse.de)
1112 * Copyright 2008 by Andreas Eversberg (jolly@eversberg.eu)
12
- *
13
- * This program is free software; you can redistribute it and/or modify
14
- * it under the terms of the GNU General Public License as published by
15
- * the Free Software Foundation; either version 2, or (at your option)
16
- * any later version.
17
- *
18
- * This program is distributed in the hope that it will be useful,
19
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
- * GNU General Public License for more details.
22
- *
23
- * You should have received a copy of the GNU General Public License
24
- * along with this program; if not, write to the Free Software
25
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26
- *
2713 *
2814 * Thanks to Cologne Chip AG for this great controller!
2915 */
....@@ -2262,8 +2248,8 @@
22622248 if (bch) {
22632249 maxlen = bchannel_get_rxbuf(bch, Zsize);
22642250 if (maxlen < 0) {
2265
- pr_warning("card%d.B%d: No bufferspace for %d bytes\n",
2266
- hc->id + 1, bch->nr, Zsize);
2251
+ pr_warn("card%d.B%d: No bufferspace for %d bytes\n",
2252
+ hc->id + 1, bch->nr, Zsize);
22672253 return;
22682254 }
22692255 sp = &bch->rx_skb;
....@@ -2274,8 +2260,8 @@
22742260 if (*sp == NULL) {
22752261 *sp = mI_alloc_skb(maxlen, GFP_ATOMIC);
22762262 if (*sp == NULL) {
2277
- pr_warning("card%d: No mem for dch rx_skb\n",
2278
- hc->id + 1);
2263
+ pr_warn("card%d: No mem for dch rx_skb\n",
2264
+ hc->id + 1);
22792265 return;
22802266 }
22812267 }