Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc39cf0b authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

ANDROID: GKI: edac: Fix ABI diffs in edac_device_ctl_info struct



Add edac_device_ctl_info struct members causing ABI diffs. This
patch skips sysfs changes and ignores the deferrable flag from the
original patchset.

Bug: 152456530
Test: build and boot
Signed-off-by: default avatarStepan Moskovchenko <stepanm@codeaurora.org>
Signed-off-by: default avatarVenkata Narendra Kumar Gutta <vnkgutta@codeaurora.org>
Signed-off-by: default avatarRohit Vaswani <rvaswani@codeaurora.org>
[surenb: Squashed the following commits and kept only
edac_device_ctl_info struct changes:
	117ab600 edac: Allow panic on correctable errors (CE).
        1b9a7044 edac: Allow the option of creating a deferrable work for polling]
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
Change-Id: If301dd0134c819167c81004468082a68735d9bd7
Merged-In: If301dd0134c819167c81004468082a68735d9bd7
parent 0c0baede
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -159,9 +159,11 @@ struct edac_device_ctl_info {
	/* Per instance controls for this edac_device */
	int log_ue;		/* boolean for logging UEs */
	int log_ce;		/* boolean for logging CEs */
	int panic_on_ce;	/* boolean for panic'ing on an CE */
	int panic_on_ue;	/* boolean for panic'ing on an UE */
	unsigned poll_msec;	/* number of milliseconds to poll interval */
	unsigned long delay;	/* number of jiffies for poll_msec */
	bool defer_work;	/* Create a deferrable work for polling */

	/* Additional top controller level attributes, but specified
	 * by the low level driver.