Benign repos Download

aq_pci_func.c

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

Evidence

Includes Linux kernel module header lines 8–26
8:8… aq_pci_func.c: Definition of PCI functions. */
9
10#include <linux/interrupt.h>
11#include <linux/module.h>
12
13#include "aq_main.h"
14#include "aq_nic.h"
15#include "aq_vec.h"
16#include "aq_hw.h"
17#include "aq_pci_func.h"
18#include "hw_atl/hw_atl_a0.h"
19#include "hw_atl/hw_atl_b0.h"
20#include "hw_atl2/hw_atl2.h"
21#include "aq_filters.h"
22#include "aq_drvinfo.h"
23#include "aq_macsec.h"
24
25static const struct pci_device_id aq_pci_tbl[] = {
26 { PCI_VDEVICE(AQUANTIA, AQ_DEVICE_ID_000 …
Kernel error code return lines 100–109
100:38… caps)
101{
102 int i;
103
104 if (pdev->vendor != PCI_VENDOR_ID_AQUANTIA)
105 return -EINVAL;
106
107 for (i = 0; i < ARRAY_SIZE(hw_atl_boards); i++) {
108 if (hw_atl_boards[i].devid == pdev->device &&
109 (hw_atl_boards[i].re …
Assigns a negative errno constant lines 129–139
129:14… et_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
130 if (err) {
131 err = -ENOSR;
132 goto err_exit;
133 }
⋯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.