Skip to content

Commit

Permalink
Merge pull request #5 from offsoc/autofix/alert-42-9c14cece7f
Browse files Browse the repository at this point in the history
Fix code scanning alert torvalds#42: Multiplication result converted to larger type
  • Loading branch information
offsoc authored Sep 23, 2024
2 parents 4317419 + 7c035b3 commit 833c2e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/firmware/efi/earlycon.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static void efi_earlycon_clear_scanline(unsigned int y)
u16 len;

len = screen_info.lfb_linelength;
dst = efi_earlycon_map(y*len, len);
dst = efi_earlycon_map((unsigned long)y * len, len);
if (!dst)
return;

Expand Down

0 comments on commit 833c2e2

Please sign in to comment.