immortalwrt/target/linux/bcm27xx/patches-6.6/950-1548-delete-the-comment.patch
Álvaro Fernández Rojas 5872633b9d bcm27xx: pull 6.6 patches from RPi repo
Adds latest 6.6 patches from the Raspberry Pi repository.

These patches were generated from:
https://github.com/raspberrypi/linux/commits/rpi-6.6.y/
With the following command:
git format-patch -N v6.6.83..HEAD
(HEAD -> 08d4e8f52256bd422d8a1f876411603f627d0a82)

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit 251f76c1c67d62c585d799c38dab31e1385d2ad5)
2025-03-16 21:08:29 +01:00

23 lines
906 B
Diff

From f1076a9d7a269d72b6707283560d0d38203cb07a Mon Sep 17 00:00:00 2001
From: KubaTaba1uga <luna7337anul@proton.me>
Date: Tue, 4 Mar 2025 09:50:30 +0100
Subject: [PATCH] delete the comment
---
drivers/dma-buf/heaps/system_heap.c | 4 ----
1 file changed, 4 deletions(-)
--- a/drivers/dma-buf/heaps/system_heap.c
+++ b/drivers/dma-buf/heaps/system_heap.c
@@ -50,10 +50,6 @@ static gfp_t order_flags[] = {HIGH_ORDER
* to match with the sizes often found in IOMMUs. Using order 4 pages instead
* of order 0 pages can significantly improve the performance of many IOMMUs
* by reducing TLB pressure and time spent updating page tables.
- *
- * Note: `module_max_order` must be set explicitly instead of using
- * `orders[0]` to avoid Clang's "initializer element is not a
- * compile-time constant" error.
*/
#define MAX_ORDERS_VALUE 8
static const unsigned int orders[] = {MAX_ORDERS_VALUE, 4, 0};