MKDEV 138 drivers/infiniband/core/user_mad.c static const dev_t base_issm_dev = MKDEV(IB_UMAD_MAJOR, IB_UMAD_MINOR_BASE) + MKDEV 12 include/linux/kdev_t.h #define MKDEV(ma,mi) (((ma) << MINORBITS) | (mi)) MKDEV 12 include/uapi/linux/kdev_t.h #define MKDEV(ma,mi) ((ma)<<8 | (mi))