]
Applied, thanks!
[1/1] of: add sanity check for machine compatible string
https://git.pengutronix.de/cgit/barebox/commit/?id=6edcb98c0dd5 (link may
not be stable)
Best regards,
--
Sascha Hauer
[2/2] net: sja1105: add function to configure CPU port
https://git.pengutronix.de/cgit/barebox/commit/?id=9cce2d64ba7d (link may
not be stable)
Best regards,
--
Sascha Hauer
https://git.pengutronix.de/cgit/barebox/commit/?id=e548c6f567f2 (link may
not be stable)
Best regards,
--
Sascha Hauer
51-prtt1c: sync with the kernel dts
https://git.pengutronix.de/cgit/barebox/commit/?id=b31d9add37eb (link may
not be stable)
Best regards,
--
Sascha Hauer
On Wed, May 29, 2024 at 07:03:40AM +0200, Oleksij Rempel wrote:
> Add a check in phy_update_status to skip calling adjust_link when the
> link status remains down. This prevents unnecessary adjust_link calls
> for PHYs that may change speed and duplex status bits before confirming
> link
/cgit/barebox/commit/?id=1851e95fcb68 (link may
not be stable)
Best regards,
--
Sascha Hauer
id=1f5bdfbdae27 (link may
not be stable)
Best regards,
--
Sascha Hauer
nix.de/cgit/barebox/commit/?id=4d340dea7dbd (link may
not be stable)
Best regards,
--
Sascha Hauer
re still above the original size, but this here is the lowest hanging
> fruit.
>
> [...]
Applied, thanks!
[1/1] mtd: nand: reinstate raw NAND IS_ENABLED(CONFIG_MTD_WRITE) checks
https://git.pengutronix.de/cgit/barebox/commit/?id=55cf43c442c2 (link may
not be stable)
Best regards,
--
Sascha Hauer
drivers enabled anyway.
>
>
> [...]
Applied, thanks!
[1/1] bus: omap-gpmc: allow build with raw NAND support disabled
https://git.pengutronix.de/cgit/barebox/commit/?id=2375d985921d (link may
not be stable)
Best regards,
--
Sascha Hauer
On Tue, 07 May 2024 09:38:09 +0200, Sascha Hauer wrote:
> Support for marking blocks as good was lost during the last NAND layer
> update. Add that back.
>
>
Applied, thanks!
[1/1] mtd: nand: raw: add back support for marking blocks as good
https://git.pengutronix.de/
/commit/?id=da602c975fcc (link may
not be stable)
Best regards,
--
Sascha Hauer
This updates the i.MX27 clk driver to the one from Linux. This
essentially replaces our physbase based clk matching with device tree
based clk matching. The driver is nearly unchanged, only some clocks
that are unused in barebox are dropped.
Signed-off-by: Sascha Hauer
---
arch/arm/mach-imx
The i.MX27 USB ports have device tree support, so switch the board
over to use it. We still need to do some board specific setup to reset
the ULPI phys properly, so there's still some board code needed.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/phytec-phycard-imx27/pca100.c | 92
Switch board to deep probe.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/phytec-phycard-imx27/pca100.c | 29 +++
1 file changed, 24 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boards/phytec-phycard-imx27/pca100.c
b/arch/arm/boards/phytec-phycard-imx27/pca100.c
index
Update the list of UPLI chips from the kernel.
Signed-off-by: Sascha Hauer
---
drivers/usb/otg/ulpi.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/otg/ulpi.c b/drivers/usb/otg/ulpi.c
index d231b49b08..b2b5913ec2 100644
--- a/drivers/usb/otg/ulpi.c
+++ b
Hi Jules,
On Tue, May 28, 2024 at 03:29:47PM +0200, Jules Maselbas wrote:
> Hi,
>
> On Tue May 28, 2024 at 10:58 AM CEST, Sascha Hauer wrote:
> > The hardware may report a packet longer than our receive buffer. Instead
> > of reading past the read buffer, discard too long pa
---
drivers/net/smc911x.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c
index cb2e57da5e..8ae71ea81f 100644
--- a/drivers/net/smc911x.c
+++ b/drivers/net/smc911x.c
@@ -467,6 +467,8 @@ static void smc911x_eth_rx(struct eth_device *edev)
bc (link may
not be stable)
[2/2] string: add nonempty helper
https://git.pengutronix.de/cgit/barebox/commit/?id=7253e9872c95 (link may
not be stable)
Best regards,
--
Sascha Hauer
On Mon, 27 May 2024 11:50:56 +0200, Sascha Hauer wrote:
> The designware watchdog driver doesn't have a special reset function,
> instead it only uses the regular watchdog to reset the SoC. Since
> 0ed7bb09f2ef7b ("watchdog: add option to provide fall-back restart handler")
the hardware may report a packet longer than our receive buffer. Instead
of reading past the read buffer, discard too long packets.
Signed-off-by: Sascha Hauer
---
drivers/net/cs8900.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/net/cs8900.c b
The driver already discards packets bigger than 2048 bytes, but that is
already larger than the buffer we read the data into. Limit packet size
to PKTSIZE instead which matches our receive buffer size.
Signed-off-by: Sascha Hauer
---
drivers/net/liteeth.c | 2 +-
1 file changed, 1 insertion
) / 4.
I have no idea why the code has an additional + 2 when calculating the
number of dwords. The corresponding U-Boot driver also does not have
this additional + 2, so drop it from the barebox driver as well.
Signed-off-by: Sascha Hauer
---
drivers/net/smc911x.c | 2 +-
1 file changed, 1
The return value of the net rx hook is quite inconsistent over the
different drivers. Some return the length of the received packet,
some return the number of packets and others just return 0. Nobody
checks the return value anyway, so just change the hook to return void.
Signed-off-by: Sascha
'len' is set to 0 before it is printed, so printing it doesn't give any
information. Drop this and print the erroneous len instead. Also, do not
initialize 'len' initially as this initialization value is never used.
Signed-off-by: Sascha Hauer
---
drivers/net/liteeth.c | 3 +--
1 file changed
The return value of ks8851_rx_frame() is unused, so let it return void.
Signed-off-by: Sascha Hauer
---
drivers/net/ks8851_mll.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ks8851_mll.c b/drivers/net/ks8851_mll.c
index 936191597a..4e2a05158e 100644
The hardware may report a packet longer than our receive buffer. Instead
of reading past the read buffer, discard too long packets.
Signed-off-by: Sascha Hauer
---
drivers/net/smc911x.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/net/smc911x.c b
the hardware may report a packet longer than our receive buffer. Instead
of reading past the receive buffer, discard too long packets.
Signed-off-by: Sascha Hauer
---
drivers/net/ks8851_mll.c | 36 ++--
1 file changed, 30 insertions(+), 6 deletions(-)
diff --git
Instead of doing an extra read after the buffer read loop when the
packet length is odd, add another iteration to the loop if necessary.
Signed-off-by: Sascha Hauer
---
drivers/net/cs8900.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/net/cs8900.c b/drivers
packet check in smc911x
Changes since v1:
- Do not call net_receive() when we decided to discard a packet
- Add patch to let network device receive hook return void
Sascha Hauer (9):
net: cs8900: simplify buffer read loop
net: cs8900: do not read past the receive buffer
net: ks8851_mll: do
On Mon, 27 May 2024 14:57:25 +0200, Sascha Hauer wrote:
> The software BCH ECC support merged into barebox was a preliminary
> version. Sync this with the code that was merged to the kernel.
> This hasn't hit Linus' tree yet, but is merged into next:
> https://lore.ke
On Mon, May 27, 2024 at 02:57:25PM +0200, Sascha Hauer wrote:
> The software BCH ECC support merged into barebox was a preliminary
> version. Sync this with the code that was merged to the kernel.
> This hasn't hit Linus' tree yet, but is merged into next:
> https://lore.ke
not be used.
Signed-off-by: Sascha Hauer
---
drivers/mtd/nand/raw/mxc_nand.c | 196 ++--
1 file changed, 159 insertions(+), 37 deletions(-)
diff --git a/drivers/mtd/nand/raw/mxc_nand.c b/drivers/mtd/nand/raw/mxc_nand.c
index f8517df823..a5500f7dda 100644
--- a/drivers
The hardware may report a packet longer than our receive buffer. Instead
of reading past the read buffer, discard too long packets.
Signed-off-by: Sascha Hauer
---
drivers/net/smc911x.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/net/smc911x.c b
The return value of the net rx hook is quite inconsistent over the
different drivers. Some return the length of the received packet,
some return the number of packets and others just return 0. Nobody
checks the return value anyway, so just change the hook to return void.
Signed-off-by: Sascha
the hardware may report a packet longer than our receive buffer. Instead
of reading past the receive buffer, discard too long packets.
Signed-off-by: Sascha Hauer
---
drivers/net/ks8851_mll.c | 36 ++--
1 file changed, 30 insertions(+), 6 deletions(-)
diff --git
the hardware may report a packet longer than our receive buffer. Instead
of reading past the read buffer, discard too long packets.
Signed-off-by: Sascha Hauer
---
drivers/net/cs8900.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/net/cs8900.c b
Instead of doing an extra read after the buffer read loop when the
packet length is odd, add another iteration to the loop if necessary.
Signed-off-by: Sascha Hauer
---
drivers/net/cs8900.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/net/cs8900.c b/drivers
Signed-off-by: Sascha Hauer
---
drivers/net/ks8851_mll.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ks8851_mll.c b/drivers/net/ks8851_mll.c
index 936191597a..4e2a05158e 100644
--- a/drivers/net/ks8851_mll.c
+++ b/drivers/net/ks8851_mll.c
@@ -672,7
The driver already discards packets bigger than 2048 bytes, but that is
already larger than the buffer we read the data into. Limit packet size
to PKTSIZE instead which matches our receive buffer size.
Signed-off-by: Sascha Hauer
---
drivers/net/liteeth.c | 2 +-
1 file changed, 1 insertion
return void
Sascha Hauer (7):
net: cs8900: simplify buffer read loop
net: cs8900: do not read past the receive buffer
net: ks8851_mll: do not read past the receive buffer
net: liteeth: do not read past the receive buffer
net: smc911x: do not read past the receive buffer
net: ks8851_mll
poller will continue to feed the watchdog, so we never actually
reset the CPU.
Use mdelay_non_interruptible() instead so that no poller can run in the
background.
Signed-off-by: Sascha Hauer
---
drivers/watchdog/wd_core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
he
restart functionality from the driver.
Signed-off-by: Sascha Hauer
---
drivers/watchdog/dw_wdt.c | 22 --
1 file changed, 22 deletions(-)
diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c
index 178e0a29f1..398bbfe05f 100644
--- a/drivers/watchdog/dw_wdt.c
+++
Hi Jules,
On Mon, May 27, 2024 at 10:58:55AM +0200, Jules Maselbas wrote:
> Hi Sascha,
>
> Just a quick remark:
>
> On Mon May 27, 2024 at 9:29 AM CEST, Sascha Hauer wrote:
> > the hardware may report a packet longer than our receive buffer. Instead
> > of reading pa
Hi,
On Thu, May 23, 2024 at 06:51:01PM +0200, jianqiang wang wrote:
> Dear Barebox devlopers,
>
> I found several heap overflow vulnerabilities in Barebox.
>
> The Barebox implementation assumes that the network packet received is
> less than PKTSIZE, that is 1536 bytes. For example, the
Instead of doing an extra read after the buffer read loop when the
packet length is odd, add another iteration to the loop if necessary.
Signed-off-by: Sascha Hauer
---
drivers/net/cs8900.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/net/cs8900.c b/drivers
the hardware may report a packet longer than our receive buffer. Instead
of reading past the receive buffer, discard too long packets.
Signed-off-by: Sascha Hauer
---
drivers/net/ks8851_mll.c | 28 +---
1 file changed, 25 insertions(+), 3 deletions(-)
diff --git
The driver already discards packets bigger than 2048 bytes, but that is
already larger than the buffer we read the data into. Limit packet size
to PKTSIZE instead which matches our receive buffer size.
Signed-off-by: Sascha Hauer
---
drivers/net/liteeth.c | 2 +-
1 file changed, 1 insertion
The hardware may report a packet longer than our receive buffer. Instead
of reading past the read buffer, discard too long packets.
Signed-off-by: Sascha Hauer
---
drivers/net/smc911x.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/net/smc911x.c b/drivers
the hardware may report a packet longer than our receive buffer. Instead
of reading past the read buffer, discard too long packets.
Signed-off-by: Sascha Hauer
---
drivers/net/cs8900.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/net/cs8900.c b/drivers
: i.MX8MP: skov: add fallback for unsupported HW
ARM: i.MX8MP: skov: add new bd500 variant support
Roland Hieber (1):
ARM: i.MX8MP: fix compatible string for koenigbauer,alphajet board
Rouven Czerwinski (1):
mci: mci-core: make devinfo hex values obvious
Sascha Hauer (54):
net
.de/cgit/barebox/commit/?id=5d74c69b3279 (link may
not be stable)
Best regards,
--
Sascha Hauer
21b90 (link may
not be stable)
[3/3] mci: sdhci: populate struct sdhci::mci in drivers
https://git.pengutronix.de/cgit/barebox/commit/?id=532da9c40cdc (link may
not be stable)
Best regards,
--
Sascha Hauer
Applied, thanks!
[1/1] nvmem: bsec: make OP-TEE TA interaction optional
https://git.pengutronix.de/cgit/barebox/commit/?id=ead274ad3bc2 (link may
not be stable)
Best regards,
--
Sascha Hauer
may
not be stable)
[2/3] net: phy: document core PHY structures
https://git.pengutronix.de/cgit/barebox/commit/?id=7fb2f20dc854 (link may
not be stable)
[3/3] net: phy: dp83867: sync dp83867_phy_rest
https://git.pengutronix.de/cgit/barebox/commit/?id=adde7a0344ac (link may
not be stable)
Best regards,
--
Sascha Hauer
On Tue, 21 May 2024 12:49:09 +0200, Sascha Hauer wrote:
> struct boarddata is a mechanism to pass a ARM machine number from PBL to
> barebox proper. The EFI payload also uses it to pass some custom
> pointers to barebox proper. handoff data was created for exactly this
> purpos
git/barebox/commit/?id=ee4be3efa1e7 (link may
not be stable)
[3/3] pinctrl: implement pinctrl_lookup_state/select_state
https://git.pengutronix.de/cgit/barebox/commit/?id=da674fab4c62 (link may
not be stable)
Best regards,
--
Sascha Hauer
r_t
https://git.pengutronix.de/cgit/barebox/commit/?id=7176954ca289 (link may
not be stable)
Best regards,
--
Sascha Hauer
https://git.pengutronix.de/cgit/barebox/commit/?id=41276fd07089 (link may
not be stable)
[2/2] usbgadget: split usbgadget_register into prepare and register
https://git.pengutronix.de/cgit/barebox/commit/?id=ef3c7fac172c (link may
not be stable)
Best regards,
--
Sascha Hauer
[2/2] pblimage: ls1028a: fix handling of short reads on
https://git.pengutronix.de/cgit/barebox/commit/?id=27d7f5dcb305 (link may
not be stable)
Best regards,
--
Sascha Hauer
git/barebox/commit/?id=1a34f8cc686a (link may
not be stable)
[3/3] pinctrl: implement pinctrl_lookup_state/select_state
https://git.pengutronix.de/cgit/barebox/commit/?id=e13c73ff4b17 (link may
not be stable)
Best regards,
--
Sascha Hauer
ependencies, so move them into this header as well.
>
>
> [...]
Applied, thanks!
[1/1] driver: move some inline getters for struct device into device.h
https://git.pengutronix.de/cgit/barebox/commit/?id=16a636613978 (link may
not be stable)
Best regards,
--
Sascha Hauer
Applied, thanks!
[1/1] mci: imx-esdhc: retire esdhc_platform_data
https://git.pengutronix.de/cgit/barebox/commit/?id=4cce368d53c1 (link may
not be stable)
Best regards,
--
Sascha Hauer
ple variants and makes code more similar to Linux.
>
> No functional change.
>
> [...]
Applied, thanks!
[1/1] mci: collect host operation in struct mci_ops
https://git.pengutronix.de/cgit/barebox/commit/?id=dfef2a2d2792 (link may
not be stable)
Best regards,
--
Sascha Hauer
.de/cgit/barebox/commit/?id=f661c703ff46 (link may
not be stable)
Best regards,
--
Sascha Hauer
is, so DEBUG_LL may be used for either layerscape or other enabled
> platforms.
>
> [...]
Applied, thanks!
[1/1] ARM: layerscape: fix layerscape multiarch build with DEBUG_LL
https://git.pengutronix.de/cgit/barebox/commit/?id=a8fa6c2afcb1 (link may
not be stable)
Best regards,
--
Sascha Hauer
Setup C environment in early board code. This will be needed in the next
step. Factored out to a separate patch to ease bisecting.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/beagle/lowlevel.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boards/beagle/lowlevel.c
b/arch
The intention was to put the handoff data into the data section and not
into the bss section so that it won't be cleared by another call to
setup_c(). This was not fully done, add a __section(.data) to the
missing places.
Signed-off-by: Sascha Hauer
---
include/pbl/handoff-data.h | 18
EFI payload uses custom fields in struct boarddata to pass data from PBL
to barebox proper. handoff data was created for exactly this purpose.
Now that we have it, switch EFI payload over to use it.
Signed-off-by: Sascha Hauer
---
efi/payload/boarddata.c| 12 +++-
efi/payload/entry
tested only. Could you give it a try?
Sascha
Sascha Hauer (4):
handoff-data: put handoff data into data section
efi-payload: use handoff data to pass data to barebox proper
ARM: beagle: setup C environment early
ARM: replace boarddata with handoff data
arch/arm/boards/beagle/lowlevel.c
struct boarddata can be used to pass a ARM machine number from PBL to
barebox proper. Now that we have handoff data for this purpose, retire
struct boarddata and use handoff data instead.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/beagle/lowlevel.c | 6 +--
arch/arm/boards
size to 4 bytes
https://git.pengutronix.de/cgit/barebox/commit/?id=ce38eef3c056 (link may
not be stable)
[2/2] RISC-V: start: align uncompressed DTB size to 4 bytes
https://git.pengutronix.de/cgit/barebox/commit/?id=249164bc555f (link may
not be stable)
Best regards,
--
Sascha Hauer
off data from PBL to proper
https://git.pengutronix.de/cgit/barebox/commit/?id=b02063a8aa22 (link may
not be stable)
Best regards,
--
Sascha Hauer
barebox memory layout
https://git.pengutronix.de/cgit/barebox/commit/?id=c9af0d2b5e57 (link may
not be stable)
[2/2] ARM: fix overlap between ramoops area and early malloc area
https://git.pengutronix.de/cgit/barebox/commit/?id=d1cc8a4045a0 (link may
not be stable)
Best regards,
--
Sascha Hauer
ot be stable)
Best regards,
--
Sascha Hauer
as not needing executable stack
https://git.pengutronix.de/cgit/barebox/commit/?id=320b72bfc91b (link may
not be stable)
[2/2] x86: lib: setjmp: mark as not needing executable stack
https://git.pengutronix.de/cgit/barebox/commit/?id=628e7d6e5d1c (link may
not be stable)
Best regards,
--
Sascha Hauer
On Fri, May 17, 2024 at 09:48:22AM +0200, Ahmad Fatoum wrote:
> We leak this allocation, but we don't actually need it, so drop it.
>
> Signed-off-by: Ahmad Fatoum
> ---
> drivers/regulator/of_regulator.c | 6 --
> 1 file changed, 6 deletions(-)
>
> diff --git
wer: reset: reboot-mode: fix memory leak
https://git.pengutronix.de/cgit/barebox/commit/?id=22f770fb9041 (link may
not be stable)
Best regards,
--
Sascha Hauer
ld with sandbox
https://git.pengutronix.de/cgit/barebox/commit/?id=9f82a33c178e (link may
not be stable)
[2/2] common: fit: don't have BOOTM_FITIMAGE depend on ARM
https://git.pengutronix.de/cgit/barebox/commit/?id=09201c7dd960 (link may
not be stable)
Best regards,
--
Sascha Hauer
code optionally
https://git.pengutronix.de/cgit/barebox/commit/?id=05cc671bbebb (link may
not be stable)
Best regards,
--
Sascha Hauer
df68faf5b855 (link may
not be stable)
Best regards,
--
Sascha Hauer
ositive warnings about sign-extended constants that get truncated.
>
>
Applied, thanks!
[1/1] treewide: use an unsigned type for ioctl commands
https://git.pengutronix.de/cgit/barebox/commit/?id=d9c9b317673d (link may
not be stable)
Best regards,
--
Sascha Hauer
https://git.pengutronix.de/cgit/barebox/commit/?id=15af24567132 (link may
not be stable)
Best regards,
--
Sascha Hauer
On Thu, 16 May 2024 09:08:15 +0200, Sascha Hauer wrote:
> As Ahmad noticed cdev_by_name() doesn't increase the reference counting
> on the returned cdev which causes problems further down the road. This
> series replaces some of the easier occurences of cdev_by_name() with
> cdev_
On Thu, May 16, 2024 at 04:43:04PM +0200, Marco Felsch wrote:
> Hi Sascha,
>
> On 24-05-16, Sascha Hauer wrote:
> > As Ahmad noticed cdev_by_name() doesn't increase the reference counting
> > on the returned cdev which causes problems further down the road. This
>
On Thu, 16 May 2024 12:10:52 +0200, Sascha Hauer wrote:
> The socfpga-xload_*defconfig have MC13xxx, AT25 and SPI support enabled.
> Disable these as they are unused. This makes the configs small enough so
> that we can merge the two existing configs into one.
>
>
Applied, tha
The socfpga-xload_*defconfig have MC13xxx, AT25 and SPI support enabled.
Disable these as they are unused. This makes the configs small enough so
that we can merge the two existing configs into one.
Signed-off-by: Sascha Hauer
---
arch/arm/configs/socfpga-xload-2_defconfig | 28
ommit/?id=6b1df8b8219d (link may
not be stable)
Best regards,
--
Sascha Hauer
On Wed, May 15, 2024 at 08:07:57AM +0200, Ahmad Fatoum wrote:
> With the addition of PBL handoff data, we now use in PBL.
> This works fine with CONFIG_DEBUG_LIST disabled, because all functions are
> inlined, but when building with the option enabled, references to the
> out-of-line sanity
e)
[3/3] partition: reparse tables only if CONFIG_PARTITION_MANIPULATION=y
https://git.pengutronix.de/cgit/barebox/commit/?id=dfdfc732ba6f (link may
not be stable)
Best regards,
--
Sascha Hauer
cdev_by_name() returns a cdev without increasing its reference count. In
order to maintain a proper reference counting use cdev_open_by_name()
instead and make sure it's closed afterwards when no longer needed.
Signed-off-by: Sascha Hauer
---
arch/arm/mach-omap/omap_generic.c | 5 -
1 file
As Ahmad noticed cdev_by_name() doesn't increase the reference counting
on the returned cdev which causes problems further down the road. This
series replaces some of the easier occurences of cdev_by_name() with
cdev_open_by_name().
Sascha Hauer (7):
ARM: Freescale i.MX23 evk: use
cdev_by_name() returns a cdev without increasing its reference count. In
order to maintain a proper reference counting use cdev_open_by_name()
instead and make sure it's closed afterwards when no longer needed.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/karo-tx28/tx28-stk5.c | 13
cdev_by_name() returns a cdev without increasing its reference count. In
order to maintain a proper reference counting use cdev_open_by_name()
instead and make sure it's closed afterwards when no longer needed.
Signed-off-by: Sascha Hauer
---
commands/findmnt.c | 3 ++-
1 file changed, 2
cdev_by_name() returns a cdev without increasing its reference count. In
order to maintain a proper reference counting use cdev_open_by_name()
instead and make sure it's closed afterwards when no longer needed.
Signed-off-by: Sascha Hauer
---
commands/devlookup.c | 15 ++-
1 file
cdev_by_name() returns a cdev without increasing its reference count. In
order to maintain a proper reference counting use cdev_open_by_name()
instead and make sure it's closed afterwards when no longer needed.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/freescale-mx23-evk/mx23-evk.c | 13
cdev_by_name() returns a cdev without increasing its reference count. In
order to maintain a proper reference counting use cdev_open_by_name()
instead and make sure it's closed afterwards when no longer needed.
Signed-off-by: Sascha Hauer
---
common/bootm.c | 5 -
1 file changed, 4
cdev_by_name() returns a cdev without increasing its reference count. In
order to maintain a proper reference counting use cdev_open_by_name()
instead and make sure it's closed afterwards when no longer needed.
Signed-off-by: Sascha Hauer
---
arch/arm/mach-rockchip/bbu.c | 8 +++-
1 file
be stable)
Best regards,
--
Sascha Hauer
irmware_ddr4
https://git.pengutronix.de/cgit/barebox/commit/?id=81c131efcaa5 (link may
not be stable)
Best regards,
--
Sascha Hauer
1 - 100 of 14820 matches
Mail list logo