Re: [PATCH] pci: Handle failed calloc in decode_regions()

2023-03-22 Thread Christian Gmeiner
Hi > > Hi, > > On Tue, Mar 21, 2023 at 08:57:18AM +0100, Christian Gmeiner wrote: > > Am So., 4. Dez. 2022 um 22:22 Uhr schrieb Pierre-Clément Tosi > > : > > > > > > Hi, > > > > > > On Fri, Dec 02, 2022 at 08:38:37PM +0100, s...@geanix.com wrote: > > > > > > > > Quoting Pierre-Clément Tosi : > > >

Re: [PATCH] pci: Handle failed calloc in decode_regions()

2023-03-22 Thread Pierre-Clément Tosi
Hi, On Tue, Mar 21, 2023 at 08:57:18AM +0100, Christian Gmeiner wrote: > Am So., 4. Dez. 2022 um 22:22 Uhr schrieb Pierre-Clément Tosi > : > > > > Hi, > > > > On Fri, Dec 02, 2022 at 08:38:37PM +0100, s...@geanix.com wrote: > > > > > > Quoting Pierre-Clément Tosi : > > > > > > > Add a check for ca

Re: [PATCH] pci: Handle failed calloc in decode_regions()

2023-03-21 Thread Christian Gmeiner
Am So., 4. Dez. 2022 um 22:22 Uhr schrieb Pierre-Clément Tosi : > > Hi, > > On Fri, Dec 02, 2022 at 08:38:37PM +0100, s...@geanix.com wrote: > > > > Quoting Pierre-Clément Tosi : > > > > > Add a check for calloc() failing to allocate the requested memory. > > > > > > Make decode_regions() return an

Re: [PATCH] pci: Handle failed calloc in decode_regions()

2022-12-04 Thread Pierre-Clément Tosi
Hi, On Fri, Dec 02, 2022 at 08:38:37PM +0100, s...@geanix.com wrote: > > Quoting Pierre-Clément Tosi : > > > Add a check for calloc() failing to allocate the requested memory. > > > > Make decode_regions() return an error code. > > > > Cc: Bin Meng > > Cc: Simon Glass > > Cc: Stefan Roese >

Re: [PATCH] pci: Handle failed calloc in decode_regions()

2022-12-02 Thread sean
Quoting Pierre-Clément Tosi : Add a check for calloc() failing to allocate the requested memory. Make decode_regions() return an error code. Cc: Bin Meng Cc: Simon Glass Cc: Stefan Roese Signed-off-by: Pierre-Clément Tosi --- Hi, We upgraded from v2022.04 -> v2022.10, and this PATCH b

Re: [PATCH] pci: Handle failed calloc in decode_regions()

2022-06-07 Thread Tom Rini
On Thu, May 19, 2022 at 05:48:30PM +0100, Pierre-Clément Tosi wrote: > Add a check for calloc() failing to allocate the requested memory. > > Make decode_regions() return an error code. > > Cc: Bin Meng > Cc: Simon Glass > Cc: Stefan Roese > Signed-off-by: Pierre-Clément Tosi > Reviewed-by

Re: [PATCH] pci: Handle failed calloc in decode_regions()

2022-05-19 Thread Stefan Roese
On 19.05.22 18:48, Pierre-Clément Tosi wrote: Add a check for calloc() failing to allocate the requested memory. Make decode_regions() return an error code. Cc: Bin Meng Cc: Simon Glass Cc: Stefan Roese Signed-off-by: Pierre-Clément Tosi Reviewed-by: Stefan Roese Thanks, Stefan ---