NetBSD-Bugs archive

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

Re: port-evbarm/54554



The following reply was made to PR port-evbarm/54554; it has been noted by GNATS.

From: Simon South <simon%simonsouth.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-evbarm/54554
Date: Wed, 18 Sep 2019 07:58:38 -0400

 Just spotted a problem with the patch: The tilde on line 535 of the 
 patched file needs to be removed for the alignment check to work correctly.
 
 In other words, sys/stand/efiboot/efiblock.c:535 should be changed from
 
      if (((intptr_t)buf & ~(bpart->bdev->bio->Media->IoAlign - 1)) == 0) {
 
 to
 
      if (((intptr_t)buf & (bpart->bdev->bio->Media->IoAlign - 1)) == 0) {
 
 -- 
 Simon South
 simon%simonsouth.net@localhost
 



Home | Main Index | Thread Index | Old Index