Re: [dpdk-dev] [PATCH] pci: remove unnecessary access() check

2019-10-09 Thread David Marchand
On Mon, Aug 19, 2019 at 11:58 AM David Marchand wrote: > > On Tue, Aug 13, 2019 at 5:38 PM Stephen Hemminger > wrote: > > > > Just open the sysfs file and handle failure, rather than > > using access(). This eliminates Coverity warnings about > > "time of check versus time of use"; although for t

Re: [dpdk-dev] [PATCH] pci: remove unnecessary access() check

2019-08-19 Thread David Marchand
On Tue, Aug 13, 2019 at 5:38 PM Stephen Hemminger wrote: > > Just open the sysfs file and handle failure, rather than > using access(). This eliminates Coverity warnings about > "time of check versus time of use"; although for this sysfs > file that is not really an issue anyway. > > Coverity ID:

[dpdk-dev] [PATCH] pci: remove unnecessary access() check

2019-08-13 Thread Stephen Hemminger
Just open the sysfs file and handle failure, rather than using access(). This eliminates Coverity warnings about "time of check versus time of use"; although for this sysfs file that is not really an issue anyway. Coverity ID: 347276 Signed-off-by: Stephen Hemminger --- drivers/bus/pci/linux/pci