Skip to content

Commit

Permalink
Merge tag 'devicetree-fixes-for-5.17-2' of git://git.kernel.org/pub/s…
Browse files Browse the repository at this point in the history
…cm/linux/kernel/git/robh/linux

Pull devicetree fixes from Rob Herring:

 - Update some maintainers email addresses

 - Fix handling of elfcorehdr reservation for crash dump kernel

 - Fix unittest expected warnings text

* tag 'devicetree-fixes-for-5.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
  dt-bindings: update Roger Quadros email
  MAINTAINERS: sifive: drop Yash Shah
  of/fdt: move elfcorehdr reservation early for crash dump kernel
  of: unittest: update text of expected warnings
  • Loading branch information
Linus Torvalds committed Feb 24, 2022
2 parents 54134be + 0c0822b commit 91318b2
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 22 deletions.
1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/gpio/sifive,gpio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: SiFive GPIO controller

maintainers:
- Yash Shah <yash.shah@sifive.com>
- Paul Walmsley <paul.walmsley@sifive.com>

properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ description: |
maintainers:
- Kishon Vijay Abraham I <kishon@ti.com>
- Roger Quadros <rogerq@ti.com
- Roger Quadros <rogerq@kernel.org>

properties:
compatible:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: OMAP USB2 PHY

maintainers:
- Kishon Vijay Abraham I <kishon@ti.com>
- Roger Quadros <rogerq@ti.com>
- Roger Quadros <rogerq@kernel.org>

properties:
compatible:
Expand Down
1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/pwm/pwm-sifive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: SiFive PWM controller

maintainers:
- Yash Shah <yash.shah@sifive.com>
- Sagar Kadam <sagar.kadam@sifive.com>
- Paul Walmsley <paul.walmsley@sifive.com>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ title: SiFive L2 Cache Controller

maintainers:
- Sagar Kadam <sagar.kadam@sifive.com>
- Yash Shah <yash.shah@sifive.com>
- Paul Walmsley <paul.walmsley@sifive.com>

description:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $schema: "http://devicetree.org/meta-schemas/core.yaml#"
title: Bindings for the TI wrapper module for the Cadence USBSS-DRD controller

maintainers:
- Roger Quadros <rogerq@ti.com>
- Roger Quadros <rogerq@kernel.org>

properties:
compatible:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: TI Keystone Soc USB Controller

maintainers:
- Roger Quadros <rogerq@ti.com>
- Roger Quadros <rogerq@kernel.org>

properties:
compatible:
Expand Down
6 changes: 0 additions & 6 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -7011,12 +7011,6 @@ L: linux-edac@vger.kernel.org
S: Maintained
F: drivers/edac/sb_edac.c

EDAC-SIFIVE
M: Yash Shah <yash.shah@sifive.com>
L: linux-edac@vger.kernel.org
S: Supported
F: drivers/edac/sifive_edac.c

EDAC-SKYLAKE
M: Tony Luck <tony.luck@intel.com>
L: linux-edac@vger.kernel.org
Expand Down
2 changes: 1 addition & 1 deletion drivers/of/fdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,8 @@ void __init early_init_fdt_scan_reserved_mem(void)
}

fdt_scan_reserved_mem();
fdt_init_reserved_mem();
fdt_reserve_elfcorehdr();
fdt_init_reserved_mem();
}

/**
Expand Down
16 changes: 8 additions & 8 deletions drivers/of/unittest.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,24 +513,24 @@ static void __init of_unittest_parse_phandle_with_args(void)
memset(&args, 0, sizeof(args));

EXPECT_BEGIN(KERN_INFO,
"OF: /testcase-data/phandle-tests/consumer-a: #phandle-cells = 3 found -1");
"OF: /testcase-data/phandle-tests/consumer-a: #phandle-cells = 3 found 1");

rc = of_parse_phandle_with_args(np, "phandle-list-bad-args",
"#phandle-cells", 1, &args);

EXPECT_END(KERN_INFO,
"OF: /testcase-data/phandle-tests/consumer-a: #phandle-cells = 3 found -1");
"OF: /testcase-data/phandle-tests/consumer-a: #phandle-cells = 3 found 1");

unittest(rc == -EINVAL, "expected:%i got:%i\n", -EINVAL, rc);

EXPECT_BEGIN(KERN_INFO,
"OF: /testcase-data/phandle-tests/consumer-a: #phandle-cells = 3 found -1");
"OF: /testcase-data/phandle-tests/consumer-a: #phandle-cells = 3 found 1");

rc = of_count_phandle_with_args(np, "phandle-list-bad-args",
"#phandle-cells");

EXPECT_END(KERN_INFO,
"OF: /testcase-data/phandle-tests/consumer-a: #phandle-cells = 3 found -1");
"OF: /testcase-data/phandle-tests/consumer-a: #phandle-cells = 3 found 1");

unittest(rc == -EINVAL, "expected:%i got:%i\n", -EINVAL, rc);
}
Expand Down Expand Up @@ -670,12 +670,12 @@ static void __init of_unittest_parse_phandle_with_args_map(void)
memset(&args, 0, sizeof(args));

EXPECT_BEGIN(KERN_INFO,
"OF: /testcase-data/phandle-tests/consumer-b: #phandle-cells = 2 found -1");
"OF: /testcase-data/phandle-tests/consumer-b: #phandle-cells = 2 found 1");

rc = of_parse_phandle_with_args_map(np, "phandle-list-bad-args",
"phandle", 1, &args);
EXPECT_END(KERN_INFO,
"OF: /testcase-data/phandle-tests/consumer-b: #phandle-cells = 2 found -1");
"OF: /testcase-data/phandle-tests/consumer-b: #phandle-cells = 2 found 1");

unittest(rc == -EINVAL, "expected:%i got:%i\n", -EINVAL, rc);
}
Expand Down Expand Up @@ -1257,12 +1257,12 @@ static void __init of_unittest_platform_populate(void)
unittest(pdev, "device 2 creation failed\n");

EXPECT_BEGIN(KERN_INFO,
"platform testcase-data:testcase-device2: IRQ index 0 not found");
"platform testcase-data:testcase-device2: error -ENXIO: IRQ index 0 not found");

irq = platform_get_irq(pdev, 0);

EXPECT_END(KERN_INFO,
"platform testcase-data:testcase-device2: IRQ index 0 not found");
"platform testcase-data:testcase-device2: error -ENXIO: IRQ index 0 not found");

unittest(irq < 0 && irq != -EPROBE_DEFER,
"device parsing error failed - %d\n", irq);
Expand Down

0 comments on commit 91318b2

Please sign in to comment.