Re: [PATCH v4] c-format: Add -Wformat-int-precision option [PR80060]

2022-01-07 Thread Daniil Stas via Gcc-patches
On Tue, 21 Dec 2021 00:43:24 +0200 Daniil Stas wrote: > On Sat, 27 Nov 2021 22:18:23 + > Daniil Stas wrote: > > > This option is enabled by default when -Wformat option is enabled. A > > user can specify -Wno-format-int-precision to disable emitting > > warnin

Re: [PATCH v4] c-format: Add -Wformat-int-precision option [PR80060]

2021-12-20 Thread Daniil Stas via Gcc-patches
On Sat, 27 Nov 2021 22:18:23 + Daniil Stas wrote: > This option is enabled by default when -Wformat option is enabled. A > user can specify -Wno-format-int-precision to disable emitting > warnings when passing an argument of an incompatible integer type to > a 'd', 'i', 'b',

Re: [PATCH v3] c-format: Add -Wformat-int-precision option [PR80060]

2021-11-27 Thread Daniil Stas via Gcc-patches
On Tue, 23 Nov 2021 22:48:24 + Joseph Myers wrote: > On Tue, 23 Nov 2021, Daniil Stas via Gcc-patches wrote: > > > On Mon, 22 Nov 2021 20:35:03 + > > Joseph Myers wrote: > > > > > On Sun, 21 Nov 2021, Daniil Stas via Gcc-patches wrote: > >

[PATCH v4] c-format: Add -Wformat-int-precision option [PR80060]

2021-11-27 Thread Daniil Stas via Gcc-patches
as the expected type. Signed-off-by: Daniil Stas gcc/c-family/ChangeLog: * c-format.c (check_format_types): Don't emit warnings when passing an argument of an incompatible integer type to a 'd', 'i', 'b', 'B', 'o', 'u', 'x', or 'X' conversion specifier when it has

Re: [PATCH v3] c-format: Add -Wformat-int-precision option [PR80060]

2021-11-23 Thread Daniil Stas via Gcc-patches
On Mon, 22 Nov 2021 20:35:03 + Joseph Myers wrote: > On Sun, 21 Nov 2021, Daniil Stas via Gcc-patches wrote: > > > This option is enabled by default when -Wformat option is enabled. A > > user can specify -Wno-format-int-precision to disable emitting > > warnings

Re: [PATCH v2] c-format: Add -Wformat-int-precision option [PR80060]

2021-11-21 Thread Daniil Stas via Gcc-patches
On Thu, 4 Nov 2021 18:25:14 -0600 Martin Sebor wrote: > On 10/31/21 8:13 AM, Daniil Stas wrote: > > On Sun, 10 Oct 2021 23:10:20 + > > Daniil Stas wrote: > > > >> This option is enabled by default when -Wformat option is enabled. > >> A use

[PATCH v3] c-format: Add -Wformat-int-precision option [PR80060]

2021-11-21 Thread Daniil Stas via Gcc-patches
as the expected type. Signed-off-by: Daniil Stas gcc/c-family/ChangeLog: * c-format.c (check_format_types): Don't emit warnings when passing an argument of an incompatible integer type to a 'd', 'i', 'o', 'u', 'x', or 'X' conversion specifier when it has the same precision

Re: [PATCH v2] c-format: Add -Wformat-int-precision option [PR80060]

2021-10-31 Thread Daniil Stas via Gcc-patches
On Sun, 10 Oct 2021 23:10:20 + Daniil Stas wrote: > This option is enabled by default when -Wformat option is enabled. A > user can specify -Wno-format-int-precision to disable emitting > warnings when passing an argument of an incompatible integer type to > a 'd', 'i', 'o', 'u'

[PATCH v2] c-format: Add -Wformat-int-precision option [PR80060]

2021-10-10 Thread Daniil Stas via Gcc-patches
as the expected type. Signed-off-by: Daniil Stas gcc/c-family/ChangeLog: * c-format.c (check_format_types): Don't emit warnings when passing an argument of an incompatible integer type to a 'd', 'i', 'o', 'u', 'x', or 'X' conversion specifier when it has the same precision

Re: [PATCH] c-format: Add -Wformat-same-precision option [PR80060]

2021-10-01 Thread Daniil Stas via Gcc-patches
Hi, Martin On Thu, 30 Sep 2021 09:02:28 -0600 Martin Sebor wrote: > On 9/26/21 3:52 PM, Daniil Stas via Gcc-patches wrote: > > This option is enabled by default when -Wformat option is enabled. A > > user can specify -Wno-format-same-precision to disable emitting > > warni

[PATCH] c-format: Add -Wformat-same-precision option [PR80060]

2021-09-26 Thread Daniil Stas via Gcc-patches
. Signed-off-by: Daniil Stas gcc/c-family/ChangeLog: * c-format.c (check_format_types): Don't emit warnings about type differences with the format string if -Wno-format-same-precision is specified and the types have the same precision. * c.opt: Add -Wformat

[PATCH] net: dwc_eth_qos: Revert some changes of commit 3a97da12ee7b

2021-05-30 Thread Daniil Stas
platforms. And another makes some writes at unknown memory location. Fixes: 3a97da12ee7b ("net: dwc_eth_qos: add dwc eqos for imx support") Signed-off-by: Daniil Stas Cc: Ye Li Cc: Fugang Duan Cc: Peng Fan Cc: Ramon Fried Cc: Joe Hershberger Cc: Patrice Chotard Cc: Patrick Delaun

Re: [PATCH] spi: stm32_qspi: Fix short data write operation

2021-05-24 Thread Daniil Stas
On Mon, 24 May 2021 09:40:05 +0200 Patrice CHOTARD wrote: > Hi Daniil > > On 5/24/21 12:24 AM, Daniil Stas wrote: > > TCF flag only means that all data was sent to FIFO. To check if the > > data was sent out of FIFO we should also wait for the BUSY flag to >

[PATCH] spi: stm32_qspi: Fix short data write operation

2021-05-23 Thread Daniil Stas
TCF flag only means that all data was sent to FIFO. To check if the data was sent out of FIFO we should also wait for the BUSY flag to be cleared. Otherwise there is a race condition which can lead to inability to write short (one byte long) data. Signed-off-by: Daniil Stas Cc: Patrick Delaunay

[PATCH] net: dwc_eth_qos: Fix needless phy auto-negotiation restarts

2021-05-23 Thread Daniil Stas
disable clk_ck clock after it was enabled. Signed-off-by: Daniil Stas Cc: Ramon Fried Cc: Joe Hershberger Cc: Patrick Delaunay Cc: Patrice Chotard --- drivers/net/dwc_eth_qos.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net

Re: [PATCH 5/8] net: dwc_eth_qos: add dwc eqos for imx support

2021-05-04 Thread Daniil Stas
Hi, i think there are some issues with this patch. > @@ -1131,6 +1205,7 @@ static int eqos_start(struct udevice *dev) > } > > /* Configure MTL */ > + writel(0x60, >mtl_regs->txq0_quantum_weight - 0x100); > > /* Enable Store and Forward mode for TX */ > /* Program