History

fbdev: drop res_id parameter from remove_conflicting_pci_framebuffers

Since commit b0e999c95581 ("fbdev: list all pci memory bars as conflicting apertures") the parameter was used for some sanity checks only, to make sure we detect any issues with the new approach to just list all memory bars as apertures. No issues turned up so far, so continue to cleanup: Drop the res_id parameter, drop the sanity checks. Also downgrade the logging from "info" level to "debug" level and update documentation.

Gerd Hoffmann committed 7 years ago

Commit 0a845961 parent e26ae7c3 files · +7 −14Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/fb.h+1−1
@@ -607,7 +607,7 @@ extern ssize_t fb_sys_write(struct fb_info *info, const char __user *buf, · 606 unmodified lines
607607 extern int register_framebuffer(struct fb_info *fb_info);
608608 extern void unregister_framebuffer(struct fb_info *fb_info);
609609 extern void unlink_framebuffer(struct fb_info *fb_info);
610−extern int remove_conflicting_pci_framebuffers(struct pci_dev *pdev, int res_id,
610+extern int remove_conflicting_pci_framebuffers(struct pci_dev *pdev,
611611 const char *name);
612612 extern int remove_conflicting_framebuffers(struct apertures_struct *a,
613613 const char *name, bool primary);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t