Ignore:
Timestamp:
Jan 7, 2021, 8:54:42 PM (5 years ago)
Author:
David Azarewicz
Message:

Fix some easy warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-next/include/linux/kernel.h

    r615 r637  
    9797int strict_strtoul(const char *, unsigned int, unsigned long *);
    9898
    99 #define BUG_ON(condition) 
    100 #define WARN_ON(condition) 0
    101 #define WARN_ON_ONCE(condition) 0
     99#define BUG_ON(condition)
     100#define WARN_ON(condition) (void)0
     101#define WARN_ON_ONCE(condition) (void)0
    102102#define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
    103103#define SIZE_MAX        (~(size_t)0)
Note: See TracChangeset for help on using the changeset viewer.