14/06/2019 16:16, David Marchand: > On Tue, Apr 2, 2019 at 8:51 PM Stephen Hemminger <[email protected]> > wrote: > > > Using access followed by open causes a static analysis warning > > about Time of check versus Time of use. Also, access() and > > open() have different UID permission checks. > > > > This is not a serious problem; but easy to fix by using errno instead. > > > > Coverity issue: 300870 > > Fixes: 4a928ef9f611 ("bus/pci: enable write combining during mapping")
Cc: [email protected] > > Signed-off-by: Stephen Hemminger <[email protected]> > > > Reviewed-by: David Marchand <[email protected]> Applied, thanks

