RE: [PATCH] acpiphp: Match the variable types for ia64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>-----Original Message-----
>
>>                 slot->device = device;
>> -               slot->sun = sun;
>> +               slot->sun = (u64) sun;
>
>No ... the right thing to do here is make the local variable
>'sun' a u64.  adr ought to be a u32, not an unsigned long.
>
>--

If I understand your concern right, you want to change the local variable 'sun' in the routine register_slot() in the file acpiphp_glue.c from unsigned long to u64.  If that's the case, it will introduce the other issue that since the 'sun' is passed as the argument 4 of the routine acpi_evaluate_integer() and it is taking the unsigned long, what's the point to define 'sun' in u64?

Justin
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux