Message ID | 20240902074402.3824431-1-nichen@iscas.ac.cn |
---|---|
State | New |
Headers | show |
Series | fbdev/hyperv_fb: Convert comma to semicolon | expand |
On Mon, Sep 02, 2024 at 03:44:02PM +0800, Chen Ni wrote: > Replace a comma between expression statements by a semicolon. > > Fixes: d786e00d19f9 ("drivers: hv, hyperv_fb: Untangle and refactor Hyper-V panic notifiers") > Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Applied to hyperv-fixes, thanks! > --- > drivers/video/fbdev/hyperv_fb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/video/fbdev/hyperv_fb.c b/drivers/video/fbdev/hyperv_fb.c > index 8fdccf033b2d..7fdb5edd7e2e 100644 > --- a/drivers/video/fbdev/hyperv_fb.c > +++ b/drivers/video/fbdev/hyperv_fb.c > @@ -1189,7 +1189,7 @@ static int hvfb_probe(struct hv_device *hdev, > * which is almost at the end of list, with priority = INT_MIN + 1. > */ > par->hvfb_panic_nb.notifier_call = hvfb_on_panic; > - par->hvfb_panic_nb.priority = INT_MIN + 10, > + par->hvfb_panic_nb.priority = INT_MIN + 10; > atomic_notifier_chain_register(&panic_notifier_list, > &par->hvfb_panic_nb); > > -- > 2.25.1 >
On Thu, Sep 05, 2024 at 10:30:56AM +0200, Helge Deller wrote: > On 9/5/24 09:25, Wei Liu wrote: > > On Mon, Sep 02, 2024 at 03:44:02PM +0800, Chen Ni wrote: > > > Replace a comma between expression statements by a semicolon. > > > > > > Fixes: d786e00d19f9 ("drivers: hv, hyperv_fb: Untangle and refactor Hyper-V panic notifiers") > > > Signed-off-by: Chen Ni <nichen@iscas.ac.cn> > > > > Applied to hyperv-fixes, thanks! > > I added it to the fbdev git tree 3 days ago. > > Either you or me should drop it from our trees. > Please let me know what you prefer. Thanks for picking it up. I'll drop it from my tree. Thanks, Wei. > > Helge >
diff --git a/drivers/video/fbdev/hyperv_fb.c b/drivers/video/fbdev/hyperv_fb.c index 8fdccf033b2d..7fdb5edd7e2e 100644 --- a/drivers/video/fbdev/hyperv_fb.c +++ b/drivers/video/fbdev/hyperv_fb.c @@ -1189,7 +1189,7 @@ static int hvfb_probe(struct hv_device *hdev, * which is almost at the end of list, with priority = INT_MIN + 1. */ par->hvfb_panic_nb.notifier_call = hvfb_on_panic; - par->hvfb_panic_nb.priority = INT_MIN + 10, + par->hvfb_panic_nb.priority = INT_MIN + 10; atomic_notifier_chain_register(&panic_notifier_list, &par->hvfb_panic_nb);
Replace a comma between expression statements by a semicolon. Fixes: d786e00d19f9 ("drivers: hv, hyperv_fb: Untangle and refactor Hyper-V panic notifiers") Signed-off-by: Chen Ni <nichen@iscas.ac.cn> --- drivers/video/fbdev/hyperv_fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)