mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
ACPICA: Fix warnings from PR #295 merge
Possible loss of data from u32 to u8 conversions. ACPICA commit 1d7a0aa04793ff731da13f2070877ec7a9498571 Link: https://github.com/acpica/acpica/commit/1d7a0aa0 Signed-off-by: Saket Dumbre <saket.dumbre@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/2304653.iZASKD2KPV@rjwysocki.net
This commit is contained in:
committed by
Rafael J. Wysocki
parent
6ff5c32881
commit
4a0bb41df4
@@ -723,11 +723,11 @@ cleanup:
|
||||
* pop everything off of the operand stack and delete those
|
||||
* objects
|
||||
*/
|
||||
walk_state->num_operands = i;
|
||||
walk_state->num_operands = (u8)(i);
|
||||
acpi_ds_obj_stack_pop_and_delete(new_num_operands, walk_state);
|
||||
|
||||
/* Restore operand count */
|
||||
walk_state->num_operands = prev_num_operands;
|
||||
walk_state->num_operands = (u8)(prev_num_operands);
|
||||
|
||||
ACPI_EXCEPTION((AE_INFO, status, "While creating Arg %u", index));
|
||||
return_ACPI_STATUS(status);
|
||||
|
||||
Reference in New Issue
Block a user