182
175
strncpy(busid, buf + 4, BUSID_SIZE);
185
177
if (!strncmp(buf, "add ", 4)) {
186
178
if (add_match_busid(busid) < 0)
192
184
} else if (!strncmp(buf, "del ", 4)) {
193
185
if (del_match_busid(busid) < 0)
203
194
static DRIVER_ATTR(match_busid, S_IRUSR|S_IWUSR, show_match_busid,
212
197
static struct stub_priv *stub_priv_pop_from_listhead(struct list_head *listhead)