You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
asus-laptop: add parentheses
'!' has a higher priority than '&': bitanding has no effect. Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
@@ -327,7 +327,7 @@ static void write_status(acpi_handle handle, int out, int mask)
|
|||||||
|
|
||||||
switch (mask) {
|
switch (mask) {
|
||||||
case MLED_ON:
|
case MLED_ON:
|
||||||
out = !out & 0x1;
|
out = !(out & 0x1);
|
||||||
break;
|
break;
|
||||||
case GLED_ON:
|
case GLED_ON:
|
||||||
out = (out & 0x1) + 1;
|
out = (out & 0x1) + 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user