Benign repos download unavailable

f_eem.c

Includes Linux kernel module headerAssigns a negative errno constant
SHA-256d2eab739ef3ccad492781b01ec583758c8aaa03fd7ffa826ab7c730f5b0ac3f7
MaleculeO(Er)H(Os)

Evidence

Includes Linux kernel module header lines 7–29
7:3… Copyright (C) 2009 EF Johnson Technologies
8 */
9
10#include <linux/kernel.h>
11#include <linux/module.h>
12#include <linux/device.h>
13#include <linux/etherdevice.h>
14#include <linux/crc32.h>
15#include <linux/slab.h>
16
17#include "u_ether.h"
18#include "u_ether_configfs.h"
19#include "u_eem.h"
20
21#define EEM_HLEN 2
22
23/*
24 * This function is a "CDC Ethernet Emulation Model" (CDC EEM)
25 * Ethernet link.
26 */
27
28struct f_eem {
29 s …
English function-word token "the" lines 135–139
135:3… bDescriptorType = USB_DT_SS_ENDPOINT_COMP,
136
137 /* the following 2 values can be tweaked if necessary */
138 /* .bMaxBurst = 0, */
139 /* .bmAttributes = 0 …
Kernel error code return lines 180–190
180:29… );
181
182 /* device either stalls (value < 0) or reports success */
183 return -EOPNOTSUPP;
184}
185
⋯5 lines
English function-word token "with" lines 257–260
257:57… bind()
258 * configurations are bound in sequence with list_for_each_entry,
259 * in each configuration its functions are bound in sequence
260 * with lis …
Assigns a negative errno constant lines 282–292
282:11… l;
283 eem->ctrl_id = status;
284 eem_intf.bInterfaceNumber = status;
285
286 status = -ENODEV;
⋯6 lines

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.