commit 011d38aed36d774bfe868d3d50f55cacd574f434
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Mon Aug 9 10:28:06 2021 +0200

    Rel 2; cast so it builds with gcc 11.x

 kernel-small_fixes.patch | 11 +++++++++++
 kernel.spec              |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/kernel.spec b/kernel.spec
index 6d5143d4..8a90ccab 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -70,7 +70,7 @@
 %define                have_pcmcia     0
 %endif
 
-%define                rel             1
+%define                rel             2
 %define                basever         4.4
 %define                postver         .279
 
diff --git a/kernel-small_fixes.patch b/kernel-small_fixes.patch
index 97b112b6..15cbe05b 100644
--- a/kernel-small_fixes.patch
+++ b/kernel-small_fixes.patch
@@ -40,3 +40,14 @@ diff -urNp -x '*.orig' linux-4.4/scripts/mod/modpost.c 
linux-4.4/scripts/mod/mod
  #include "../../include/linux/license.h"
  #include "../../include/linux/export.h"
  
+--- linux-4.4/drivers/extcon/extcon-adc-jack.c.org     2016-01-11 
00:01:32.000000000 +0100
++++ linux-4.4/drivers/extcon/extcon-adc-jack.c 2021-08-09 08:44:14.895794160 
+0200
+@@ -105,7 +105,7 @@ static int adc_jack_probe(struct platfor
+               return -EINVAL;
+       }
+ 
+-      data->edev = devm_extcon_dev_allocate(&pdev->dev, pdata->cable_names);
++      data->edev = devm_extcon_dev_allocate(&pdev->dev, (const unsigned int 
*)pdata->cable_names);
+       if (IS_ERR(data->edev)) {
+               dev_err(&pdev->dev, "failed to allocate extcon device\n");
+               return -ENOMEM;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/011d38aed36d774bfe868d3d50f55cacd574f434

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to