drm/hisilicon/hibmc: Using module_pci_driver.
Subsystems (3)
PATCH 1/1 drm/hisilicon/hibmc: Using module_pci_driver.
Remove boilerplate code by using macro module_pci_driver.
--- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c +1 -12
@@ -414,18 +414,7 @@ static struct pci_driver hibmc_pci_driver = { .driver.pm = &hibmc_pm_ops, }; -static int __init hibmc_init (void ) -{ -return pci_register_driver (&hibmc_pci_driver); -} - -static void __exit hibmc_exit(void) -{ -return pci_unregister_driver (&hibmc_pci_driver); -} - -module_init (hibmc_init); -module_exit (hibmc_exit); +module_pci_driver (hibmc_pci_driver);MODULE_DEVICE_TABLE (pci, hibmc_pci_table);MODULE_AUTHOR ("RongrongZou <[email protected]>" );
Signature · 7 lines
2.7.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 3 lines · YueHaibing
Remove boilerplate code by using macro
module_pci_driver.Signed-off-by YueHaibing <[email protected]>
Thanks Haibing,
Xinliang
Quoted 18 lines
--- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c +0
-6@@ -414,18 +414,7 @@ static struct pci_driver hibmc_pci_driver = { .driver.pm = &hibmc_pm_ops, }; -static int __init hibmc_init (void ) -{ -return pci_register_driver (&hibmc_pci_driver); -} - -static void __exit hibmc_exit(void)
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c static struct pci_driver hibmc_pci_driver = { · line 420
Quoted 10 lines
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c +1
-6-{ -return pci_unregister_driver (&hibmc_pci_driver); -} - -module_init (hibmc_init); -module_exit (hibmc_exit); +module_pci_driver (hibmc_pci_driver);MODULE_DEVICE_TABLE (pci, hibmc_pci_table);MODULE_AUTHOR ("RongrongZou <[email protected]>" );
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Patchwork
CI✓ Fi.CI.BAT: success for drm/hisilicon/hibmc: Using module_pci_driver.
In reply to YueHaibing== Series Details ==
== Series Details ==
Series: drm/hisilicon/hibmc: Using module_pci_driver.
URL : https://patchwork.freedesktop.org/series/42103/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4078 -> Patchwork_8771 =
== Summary - SUCCESS ==
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/42103/revisions/1/mbox/
== Known issues ==
Here are the changes found in Patchwork_8771 that come from known issues:
=== IGT changes ===
==== Possible fixes ====
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
fi-ivb-3520m: DMESG-WARN (fdo#106084) -> PASSfdo#106084 https://bugs.freedesktop.org/show_bug.cgi?id=106084
== Participating hosts (36 -> 33) ==
Missing (3): fi-ctg-p8600 fi-ilk-m540 fi-skl-6700hq
== Build changes ==
* Linux: CI_DRM_4078 -> Patchwork_8771
CI_DRM_4078: 9391010824b34ec58217f816ba5e314e7312191d @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4444: dcc44347494231feabc588c2a76998cbc9afdf8c @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_8771: 10d8b3ee29f819bfcc2a469935d4f006e16a3518 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4444: a2f486679f467cd6e82578384f56d4aabaa8cf2e @ git://anongit.freedesktop.org/piglit
== Linux commits ==
10d8b3ee29f8 drm/hisilicon/hibmc: Using module_pci_driver.
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_8771/issues.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for drm/hisilicon/hibmc: Using module_pci_driver.
In reply to YueHaibing== Series Details ==
== Series Details ==
Series: drm/hisilicon/hibmc: Using module_pci_driver.
URL : https://patchwork.freedesktop.org/series/42103/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4078_full -> Patchwork_8771_full =
== Summary - WARNING ==
Minor unknown changes coming with Patchwork_8771_full need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_8771_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/42103/revisions/1/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in Patchwork_8771_full:
=== IGT changes ===
==== Warnings ====
igt@gem_exec_schedule@deep-bsd2:
shard-kbl: SKIP -> PASS
igt@gem_mocs_settings@mocs-rc6-vebox:
shard-kbl: PASS -> SKIP +1
igt@kms_plane@plane-panning-bottom-right-pipe-a-planes:
shard-glk: PASS -> SKIP +92
igt@kms_vblank@pipe-b-wait-forked-busy-hang:
shard-glk: SKIP -> PASS +79== Known issues ==
Here are the changes found in Patchwork_8771_full that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@kms_flip@flip-vs-absolute-wf_vblank-interruptible:
shard-apl: PASS -> FAIL (fdo#100368)
igt@kms_flip@plain-flip-fb-recreate:
shard-hsw: PASS -> FAIL (fdo#100368)
igt@kms_flip@plain-flip-ts-check-interruptible:
shard-glk: PASS -> FAIL (fdo#100368)
==== Possible fixes ====
igt@gem_eio@suspend:
shard-kbl: DMESG-WARN -> PASS
igt@kms_atomic_transition@1x-modeset-transitions-nonblocking-fencing:
shard-apl: FAIL (fdo#103207) -> PASS
igt@kms_flip@2x-flip-vs-absolute-wf_vblank-interruptible:
shard-hsw: FAIL (fdo#100368) -> PASS
igt@kms_flip@blocking-absolute-wf_vblank-interruptible:
shard-glk: FAIL (fdo#106134) -> PASS
igt@kms_flip@modeset-vs-vblank-race:
shard-hsw: FAIL (fdo#103060) -> PASS
igt@kms_flip@wf_vblank-ts-check-interruptible:
shard-glk: FAIL (fdo#103933) -> PASS
igt@kms_sysfs_edid_timing:
shard-apl: WARN (fdo#100047) -> PASS fdo#100047 https://bugs.freedesktop.org/show_bug.cgi?id=100047
fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#103060 https://bugs.freedesktop.org/show_bug.cgi?id=103060
fdo#103207 https://bugs.freedesktop.org/show_bug.cgi?id=103207
fdo#103933 https://bugs.freedesktop.org/show_bug.cgi?id=103933
fdo#106134 https://bugs.freedesktop.org/show_bug.cgi?id=106134
== Participating hosts (6 -> 5) ==
Missing (1): shard-glkb
== Build changes ==
* Linux: CI_DRM_4078 -> Patchwork_8771
CI_DRM_4078: 9391010824b34ec58217f816ba5e314e7312191d @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4444: dcc44347494231feabc588c2a76998cbc9afdf8c @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_8771: 10d8b3ee29f819bfcc2a469935d4f006e16a3518 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4444: a2f486679f467cd6e82578384f56d4aabaa8cf2e @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_8771/shards.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx