summaryrefslogtreecommitdiff
path: root/drivers/vfio
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2017-11-29 11:47:29 -0600
committerBjorn Helgaas <bhelgaas@google.com>2017-12-18 23:07:41 -0600
commit7a09490966bd4e36fd1cee33775b3ed15344f93d (patch)
treeaba478b5ca45452eb14bc410bd11029de65a8a2a /drivers/vfio
parent1291a0d5049dbc06baaaf66a9ff3f53db493b19b (diff)
PCI: Remove sysfs resource mmap warning
When a process uses sysfs and tries to mmap more space than is available in a PCI BAR, we emit a warning and a backtrace. The mmap fails anyway, so the backtrace is mainly for debugging. But in general we don't emit kernel messages when syscalls return failure. The similar procfs mmap path simply fails the mmap with no warning. Remove the sysfs warning. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions