[U-Boot] New discussion proposal for u-boot summit: switch malloc to succeed or die model, as glib does

2014-10-12 Thread Hans de Goede
Hi All, Sorry for the poor timing in bringing this up, but this just came up when discussing the review of some sunxi patches. Ian asked me to add error handling for mmc_create failing, which, if used properly, only ever fails if calloc fails. This made me thinking that we should switch u-boot

Re: [U-Boot] New discussion proposal for u-boot summit: switch malloc to succeed or die model, as glib does

2014-10-12 Thread Hans de Goede
Hi, On 10/12/2014 10:42 AM, Hans de Goede wrote: Hi All, Sorry for the poor timing in bringing this up, but this just came up when discussing the review of some sunxi patches. Ian asked me to add error handling for mmc_create failing, which, if used properly, only ever fails if calloc

Re: [U-Boot] New discussion proposal for u-boot summit: switch malloc to succeed or die model, as glib does

2014-10-12 Thread Detlev Zundel
Hi Hans, Sorry for the poor timing in bringing this up, but this just came up when discussing the review of some sunxi patches. Ian asked me to add error handling for mmc_create failing, which, if used properly, only ever fails if calloc fails. This made me thinking that we should switch