#define PFX "ucmb: "
-#define DEBUG
+#undef DEBUG
MODULE_LICENSE("GPL");
} __attribute__((packed));
#define UCMB_MAGIC 0x1337
-#define UCMB_MAX_MSG_LEN 0x200
enum ucmb_status_code {
UCMB_STAT_OK = 0,
goto out;
size = min_t(size_t, PAGE_SIZE, size);
- size = min_t(size_t, UCMB_MAX_MSG_LEN, size);
err = -EFAULT;
if (copy_from_user(buf, user_buf, size))
goto out_free;