* drivers/ptp/ptp_ocp.c:2559:1: warning: the frame size of 1040 bytes is larger than 1024 bytes
@ 2026-09-26 6:20 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-26 6:20 UTC (permalink / raw)
To: Crescent Hsieh; +Cc: oe-kbuild-all, linux-kernel
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6812ce4e4379ffc99c52401ec28f0d7ffbc36206
commit: af1ba61b62be975902c5a4babcc7952f6dfdbd29 serial: 8250: allow low-level drivers to override break control
date: 8 weeks ago
config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20260926/202609260832.yA7jIeSA-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260926/202609260832.yA7jIeSA-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Fixes: af1ba61b62be ("serial: 8250: allow low-level drivers to override break control")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609260832.yA7jIeSA-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/ptp/ptp_ocp.c: In function 'ptp_ocp_serial_line.isra':
>> drivers/ptp/ptp_ocp.c:2559:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
2559 | }
| ^
--
drivers/tty/serial/8250/8250_bcm2835aux.c: In function 'bcm2835aux_serial_probe':
>> drivers/tty/serial/8250/8250_bcm2835aux.c:174:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
174 | }
| ^
--
drivers/tty/serial/8250/8250_bcm7271.c: In function 'brcmuart_probe':
>> drivers/tty/serial/8250/8250_bcm7271.c:1117:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1117 | }
| ^
--
drivers/tty/serial/8250/8250_em.c: In function 'serial8250_em_probe':
>> drivers/tty/serial/8250/8250_em.c:200:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
200 | }
| ^
--
drivers/tty/serial/8250/8250_ingenic.c: In function 'ingenic_uart_probe':
>> drivers/tty/serial/8250/8250_ingenic.c:315:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
315 | }
| ^
--
drivers/tty/serial/8250/8250_ioc3.c: In function 'serial8250_ioc3_probe':
>> drivers/tty/serial/8250/8250_ioc3.c:76:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
76 | }
| ^
--
drivers/tty/serial/8250/8250_loongson.c: In function 'loongson_uart_probe':
>> drivers/tty/serial/8250/8250_loongson.c:173:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
173 | }
| ^
--
drivers/tty/serial/8250/8250_men_mcb.c: In function 'serial_8250_men_mcb_probe':
>> drivers/tty/serial/8250/8250_men_mcb.c:232:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
232 | }
| ^
--
drivers/tty/serial/8250/8250_mtk.c: In function 'mtk8250_probe':
>> drivers/tty/serial/8250/8250_mtk.c:600:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
600 | }
| ^
--
drivers/tty/serial/8250/8250_omap.c: In function 'omap8250_probe':
>> drivers/tty/serial/8250/8250_omap.c:1612:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1612 | }
| ^
--
drivers/tty/serial/8250/8250_pxa.c: In function 'serial_pxa_probe':
>> drivers/tty/serial/8250/8250_pxa.c:144:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
144 | }
| ^
..
vim +2559 drivers/ptp/ptp_ocp.c
773bda96492153 Jonathan Lemon 2021-08-03 2538
773bda96492153 Jonathan Lemon 2021-08-03 2539 static int
773bda96492153 Jonathan Lemon 2021-08-03 2540 ptp_ocp_serial_line(struct ptp_ocp *bp, struct ocp_resource *r)
773bda96492153 Jonathan Lemon 2021-08-03 2541 {
773bda96492153 Jonathan Lemon 2021-08-03 2542 struct pci_dev *pdev = bp->pdev;
773bda96492153 Jonathan Lemon 2021-08-03 2543 struct uart_8250_port uart;
773bda96492153 Jonathan Lemon 2021-08-03 2544
773bda96492153 Jonathan Lemon 2021-08-03 2545 /* Setting UPF_IOREMAP and leaving port.membase unspecified lets
773bda96492153 Jonathan Lemon 2021-08-03 2546 * the serial port device claim and release the pci resource.
773bda96492153 Jonathan Lemon 2021-08-03 2547 */
773bda96492153 Jonathan Lemon 2021-08-03 2548 memset(&uart, 0, sizeof(uart));
773bda96492153 Jonathan Lemon 2021-08-03 2549 uart.port.dev = &pdev->dev;
773bda96492153 Jonathan Lemon 2021-08-03 2550 uart.port.iotype = UPIO_MEM;
773bda96492153 Jonathan Lemon 2021-08-03 2551 uart.port.regshift = 2;
773bda96492153 Jonathan Lemon 2021-08-03 2552 uart.port.mapbase = pci_resource_start(pdev, 0) + r->offset;
773bda96492153 Jonathan Lemon 2021-08-03 2553 uart.port.irq = pci_irq_vector(pdev, r->irq_vec);
773bda96492153 Jonathan Lemon 2021-08-03 2554 uart.port.uartclk = 50000000;
c17c4059df2471 Jonathan Lemon 2022-03-09 2555 uart.port.flags = UPF_FIXED_TYPE | UPF_IOREMAP | UPF_NO_THRE_TEST;
773bda96492153 Jonathan Lemon 2021-08-03 2556 uart.port.type = PORT_16550A;
773bda96492153 Jonathan Lemon 2021-08-03 2557
773bda96492153 Jonathan Lemon 2021-08-03 2558 return serial8250_register_8250_port(&uart);
773bda96492153 Jonathan Lemon 2021-08-03 @2559 }
773bda96492153 Jonathan Lemon 2021-08-03 2560
:::::: The code at line 2559 was first introduced by commit
:::::: 773bda96492153e11d21eb63ac814669b51fc701 ptp: ocp: Expose various resources on the timecard.
:::::: TO: Jonathan Lemon <jonathan.lemon@gmail.com>
:::::: CC: David S. Miller <davem@davemloft.net>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-26 6:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-26 6:20 drivers/ptp/ptp_ocp.c:2559:1: warning: the frame size of 1040 bytes is larger than 1024 bytes kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®