Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
19 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files31
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- Kconfig
- Makefile
- Platform
- clock.c
- common.c
- common.h
- dev-common.c
- dev-common.h
- dev-gpio-buttons.c
- dev-gpio-buttons.h
- dev-leds-gpio.c
- dev-leds-gpio.h
- dev-spi.c
- dev-spi.h
- dev-usb.c
- dev-usb.h
- dev-wmac.c
- dev-wmac.h
- early_printk.c
- irq.c
- mach-ap121.c
- mach-ap136.c
- mach-ap81.c
- mach-db120.c
- mach-pb44.c
- mach-ubnt-xm.c
- machtypes.h
- pci.c
- pci.h
- prom.c
- setup.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/mips/ath79/dev-spi.c
C · 1,076 bytes/*
* Atheros AR71XX/AR724X/AR913X SPI controller device
*
* Copyright (C) 2008-2010 Gabor Juhos <[email protected]>
* Copyright (C) 2008 Imre Kaloz <[email protected]>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*/
#include <linux/platform_device.h>
#include <asm/mach-ath79/ar71xx_regs.h>
#include "dev-spi.h"
static struct resource ath79_spi_resources[] = {
{
.start = AR71XX_SPI_BASE,
.end = AR71XX_SPI_BASE + AR71XX_SPI_SIZE - 1,
.flags = IORESOURCE_MEM,
},
};
static struct platform_device ath79_spi_device = {
.name = "ath79-spi",
.id = -1,
.resource = ath79_spi_resources,
.num_resources = ARRAY_SIZE(ath79_spi_resources),
};
void __init ath79_register_spi(struct ath79_spi_platform_data *pdata,
struct spi_board_info const *info,
unsigned n)
{
spi_register_board_info(info, n);
ath79_spi_device.dev.platform_data = pdata;
platform_device_register(&ath79_spi_device);
}