| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * hfcmulti.c low level driver for hfc-4s/hfc-8s/hfc-e1 based cards |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 9 | 10 | * Copyright 1999 by Werner Cornelius (werner@isdn-development.de) |
|---|
| 10 | 11 | * Copyright 2008 by Karsten Keil (kkeil@suse.de) |
|---|
| 11 | 12 | * 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 | | - * |
|---|
| 27 | 13 | * |
|---|
| 28 | 14 | * Thanks to Cologne Chip AG for this great controller! |
|---|
| 29 | 15 | */ |
|---|
| .. | .. |
|---|
| 2262 | 2248 | if (bch) { |
|---|
| 2263 | 2249 | maxlen = bchannel_get_rxbuf(bch, Zsize); |
|---|
| 2264 | 2250 | 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); |
|---|
| 2267 | 2253 | return; |
|---|
| 2268 | 2254 | } |
|---|
| 2269 | 2255 | sp = &bch->rx_skb; |
|---|
| .. | .. |
|---|
| 2274 | 2260 | if (*sp == NULL) { |
|---|
| 2275 | 2261 | *sp = mI_alloc_skb(maxlen, GFP_ATOMIC); |
|---|
| 2276 | 2262 | 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); |
|---|
| 2279 | 2265 | return; |
|---|
| 2280 | 2266 | } |
|---|
| 2281 | 2267 | } |
|---|