lkml.org 
[lkml]   [2021]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8
From
Date

Colin,

> The shifting of the u8 integer returned fom ahc_inb(ahc, port+3) by 24
> bits to the left will be promoted to a 32 bit signed int and then
> sign-extended to a u64.

Applied to 5.14/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering

\
 
 \ /
  Last update: 2021-06-23 03:18    [W:1.080 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site