Re: [PATCH] efi_driver: fix a wrong cast

2021-09-27 Thread AKASHI Takahiro
On Mon, Sep 27, 2021 at 09:48:54AM +0200, Heinrich Schuchardt wrote: > > > On 9/27/21 6:30 AM, AKASHI Takahiro wrote: > > struct efi_driver_binding_protocol, i.e. bp, is not the first element > > in struct efi_driver_binding_extended_protocol. > > So the casting: > > struct

Re: [PATCH] efi_driver: fix a wrong cast

2021-09-27 Thread Heinrich Schuchardt
On 9/27/21 6:30 AM, AKASHI Takahiro wrote: struct efi_driver_binding_protocol, i.e. bp, is not the first element in struct efi_driver_binding_extended_protocol. So the casting: struct efi_driver_binding_extended_protocol *bp = (struct

[PATCH] efi_driver: fix a wrong cast

2021-09-26 Thread AKASHI Takahiro
struct efi_driver_binding_protocol, i.e. bp, is not the first element in struct efi_driver_binding_extended_protocol. So the casting: struct efi_driver_binding_extended_protocol *bp = (struct efi_driver_binding_extended_protocol *)this; is simply wrong. Signed-off-by: