Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-04-04 Thread Simon Glass
Hi Quentin, On Wed, 19 Mar 2025 at 16:31, Quentin Schulz wrote: > > Hi Simon > > On 3/19/25 4:03 PM, Simon Glass wrote: > > Hi Quentin, > > > > On Wed, 19 Mar 2025 at 13:04, Quentin Schulz > > wrote: > >> > >> Hi Simon, > >> > >> On 3/19/25 12:49 PM, Simon Glass wrote: > >>> Logging of function

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-04-04 Thread Quentin Schulz
Hi Simon, On 4/3/25 7:57 PM, Simon Glass wrote: Hi Tom, On Wed, 2 Apr 2025 at 06:19, Tom Rini wrote: On Wed, Apr 02, 2025 at 04:48:35AM +1300, Simon Glass wrote: Hi Tom, On Mon, 31 Mar 2025 at 03:45, Tom Rini wrote: On Fri, Mar 28, 2025 at 04:44:53AM -0600, Simon Glass wrote: Hi Tom,

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-04-03 Thread Simon Glass
Hi Tom, On Wed, 2 Apr 2025 at 06:19, Tom Rini wrote: > > On Wed, Apr 02, 2025 at 04:48:35AM +1300, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 31 Mar 2025 at 03:45, Tom Rini wrote: > > > > > > On Fri, Mar 28, 2025 at 04:44:53AM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu,

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-04-03 Thread Simon Glass
Hi Quentin, On Fri, 4 Apr 2025 at 07:03, Quentin Schulz wrote: > > Hi Simon, > > On 4/3/25 7:57 PM, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 2 Apr 2025 at 06:19, Tom Rini wrote: > >> > >> On Wed, Apr 02, 2025 at 04:48:35AM +1300, Simon Glass wrote: > >>> Hi Tom, > >>> > >>> On Mon, 31 Mar

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-04-01 Thread Tom Rini
On Wed, Apr 02, 2025 at 04:48:35AM +1300, Simon Glass wrote: > Hi Tom, > > On Mon, 31 Mar 2025 at 03:45, Tom Rini wrote: > > > > On Fri, Mar 28, 2025 at 04:44:53AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 27 Mar 2025 at 17:50, Tom Rini wrote: > > > > > > > > On Wed, Mar 26, 20

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-04-01 Thread Simon Glass
Hi Tom, On Mon, 31 Mar 2025 at 03:45, Tom Rini wrote: > > On Fri, Mar 28, 2025 at 04:44:53AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 27 Mar 2025 at 17:50, Tom Rini wrote: > > > > > > On Wed, Mar 26, 2025 at 10:46:57AM -0600, Simon Glass wrote: > > > > Hi Quentin, > > > > > > > > On

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-03-30 Thread Tom Rini
On Fri, Mar 28, 2025 at 04:44:53AM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 27 Mar 2025 at 17:50, Tom Rini wrote: > > > > On Wed, Mar 26, 2025 at 10:46:57AM -0600, Simon Glass wrote: > > > Hi Quentin, > > > > > > On Tue, 25 Mar 2025 at 04:20, Quentin Schulz > > > wrote: > > > > > > > > H

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-03-28 Thread Simon Glass
Hi Tom, On Thu, 27 Mar 2025 at 17:50, Tom Rini wrote: > > On Wed, Mar 26, 2025 at 10:46:57AM -0600, Simon Glass wrote: > > Hi Quentin, > > > > On Tue, 25 Mar 2025 at 04:20, Quentin Schulz > > wrote: > > > > > > Hi Simon, > > > > > > On 3/20/25 4:26 AM, Simon Glass wrote: > > > > Hi Quentin, > >

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-03-27 Thread Tom Rini
On Wed, Mar 26, 2025 at 10:46:57AM -0600, Simon Glass wrote: > Hi Quentin, > > On Tue, 25 Mar 2025 at 04:20, Quentin Schulz wrote: > > > > Hi Simon, > > > > On 3/20/25 4:26 AM, Simon Glass wrote: > > > Hi Quentin, > > > > > > On Wed, 19 Mar 2025 at 16:31, Quentin Schulz > > > wrote: > > >> > >

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-03-26 Thread Simon Glass
Hi Quentin, On Tue, 25 Mar 2025 at 04:20, Quentin Schulz wrote: > > Hi Simon, > > On 3/20/25 4:26 AM, Simon Glass wrote: > > Hi Quentin, > > > > On Wed, 19 Mar 2025 at 16:31, Quentin Schulz > > wrote: > >> > >> Hi Simon > >> > >> On 3/19/25 4:03 PM, Simon Glass wrote: > >>> Hi Quentin, > >>> >

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-03-25 Thread Quentin Schulz
Hi Simon, On 3/20/25 4:26 AM, Simon Glass wrote: Hi Quentin, On Wed, 19 Mar 2025 at 16:31, Quentin Schulz wrote: Hi Simon On 3/19/25 4:03 PM, Simon Glass wrote: Hi Quentin, On Wed, 19 Mar 2025 at 13:04, Quentin Schulz wrote: Hi Simon, On 3/19/25 12:49 PM, Simon Glass wrote: Logging o

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-03-19 Thread Quentin Schulz
Hi Simon On 3/19/25 4:03 PM, Simon Glass wrote: Hi Quentin, On Wed, 19 Mar 2025 at 13:04, Quentin Schulz wrote: Hi Simon, On 3/19/25 12:49 PM, Simon Glass wrote: Logging of function return-values is used very frequently in U-Boot now. Add a few helper macros to make it less verbose to use.

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-03-19 Thread Quentin Schulz
Hi Simon, On 3/19/25 12:49 PM, Simon Glass wrote: Logging of function return-values is used very frequently in U-Boot now. Add a few helper macros to make it less verbose to use. It turns out that the log_ret() variants are not so useful, since it is not obviously where the error is coming from

Re: [PATCH] log: Add helpers for calling log_msg_ret() et al

2025-03-19 Thread Simon Glass
Hi Quentin, On Wed, 19 Mar 2025 at 13:04, Quentin Schulz wrote: > > Hi Simon, > > On 3/19/25 12:49 PM, Simon Glass wrote: > > Logging of function return-values is used very frequently in U-Boot now. > > Add a few helper macros to make it less verbose to use. > > > > It turns out that the log_ret(