On Mon, 2022-05-30 at 12:18 +0530, quic_haric@xxxxxxxxxxx wrote: > > > +static ssize_t dbg_mask_read(struct file *file, char __user *user_buf, > + size_t count, loff_t *ppos) > +{ > + struct ieee80211_local *local = file->private_data; > + char buf[128]; > + int len; > + > + len = scnprintf(buf, sizeof(buf), "0x%x\n", local->hw.dbg_mask); > + > + return simple_read_from_buffer(user_buf, count, ppos, buf, len); > +} > I'm also really not sure I want to get behind another bespoke debug configuration system ... johannes