Messages in this thread | | | Subject | Re: [PATCH 1/2] misc/pvpanic: Fix error handling in 'pvpanic_pci_probe()' | From | Christophe JAILLET <> | Date | Fri, 21 May 2021 14:41:16 +0200 |
| |
Le 21/05/2021 à 14:36, Greg KH a écrit : > On Sun, May 16, 2021 at 04:36:55PM +0200, Christophe JAILLET wrote: >> There is no error handling path in the probe function. >> Switch to managed resource so that errors in the probe are handled easily >> and simplify the remove function accordingly. >> >> Fixes: db3a4f0abefd ("misc/pvpanic: add PCI driver") >> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> >> --- >> drivers/misc/pvpanic/pvpanic-pci.c | 9 +++------ >> 1 file changed, 3 insertions(+), 6 deletions(-) > > I see two different series for these patches, so I don't know which to > take :( > > Please fix up and send a v2 series so that I have a clue... > > thanks, > > greg k-h >
Both have to be taken. One is for -pci.c and one is for -mmio.c.
I'll resend both with a more complete subject and will include Andy Shevchenko's comments.
CJ
| |