You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Rename WARN() to WARNING() to clear the namespace
We want to use WARN() as a variant of WARN_ON(), however a few drivers are using WARN() internally. This patch renames these to WARNING() to avoid the namespace clash. A few cases were defining but not using the thing, for those cases I just deleted the definition. Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Acked-by: Greg KH <greg@kroah.com> Cc: Karsten Keil <kkeil@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
f38954c93c
commit
b6c6393700
@@ -1007,7 +1007,7 @@ static void scan_dma_completions (struct net2280_ep *ep)
|
||||
* 0122, and 0124; not all cases trigger the warning.
|
||||
*/
|
||||
if ((tmp & (1 << NAK_OUT_PACKETS)) == 0) {
|
||||
WARN (ep->dev, "%s lost packet sync!\n",
|
||||
WARNING (ep->dev, "%s lost packet sync!\n",
|
||||
ep->ep.name);
|
||||
req->req.status = -EOVERFLOW;
|
||||
} else if ((tmp = readl (&ep->regs->ep_avail)) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user