net/ceph/messenger_v1.c:1355:5: warning: stack frame size of 1136 bytes in function 'ceph_con_v1_try_write'

From: kernel test robot
Date: Sun Feb 28 2021 - 04:27:03 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5695e51619745d4fe3ec2506a2f0cd982c5e27a4
commit: cd1a677cad994021b19665ed476aea63f5d54f31 libceph, ceph: implement msgr2.1 protocol (crc and secure modes)
date: 3 months ago
config: powerpc-randconfig-r026-20210228 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project e0b1df924ae06d6d88582334087d2eacc6702e8f)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cd1a677cad994021b19665ed476aea63f5d54f31
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout cd1a677cad994021b19665ed476aea63f5d54f31
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

__do_insb
^
arch/powerpc/include/asm/io.h:541:56: note: expanded from macro '__do_insb'
#define __do_insb(p, b, n) readsb((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from net/ceph/messenger_v1.c:8:
In file included from include/net/sock.h:38:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:45:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(insw, (unsigned long p, void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:74:1: note: expanded from here
__do_insw
^
arch/powerpc/include/asm/io.h:542:56: note: expanded from macro '__do_insw'
#define __do_insw(p, b, n) readsw((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from net/ceph/messenger_v1.c:8:
In file included from include/net/sock.h:38:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:47:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(insl, (unsigned long p, void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:76:1: note: expanded from here
__do_insl
^
arch/powerpc/include/asm/io.h:543:56: note: expanded from macro '__do_insl'
#define __do_insl(p, b, n) readsl((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from net/ceph/messenger_v1.c:8:
In file included from include/net/sock.h:38:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:49:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsb, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:78:1: note: expanded from here
__do_outsb
^
arch/powerpc/include/asm/io.h:544:58: note: expanded from macro '__do_outsb'
#define __do_outsb(p, b, n) writesb((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from net/ceph/messenger_v1.c:8:
In file included from include/net/sock.h:38:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:51:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsw, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:80:1: note: expanded from here
__do_outsw
^
arch/powerpc/include/asm/io.h:545:58: note: expanded from macro '__do_outsw'
#define __do_outsw(p, b, n) writesw((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from net/ceph/messenger_v1.c:8:
In file included from include/net/sock.h:38:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:53:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsl, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:82:1: note: expanded from here
__do_outsl
^
arch/powerpc/include/asm/io.h:546:58: note: expanded from macro '__do_outsl'
#define __do_outsl(p, b, n) writesl((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
>> net/ceph/messenger_v1.c:1355:5: warning: stack frame size of 1136 bytes in function 'ceph_con_v1_try_write' [-Wframe-larger-than=]
int ceph_con_v1_try_write(struct ceph_connection *con)
^
7 warnings generated.
--
In file included from net/ceph/messenger_v2.c:17:
In file included from include/linux/scatterlist.h:9:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:43:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(insb, (unsigned long p, void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:106:1: note: expanded from here
__do_insb
^
arch/powerpc/include/asm/io.h:541:56: note: expanded from macro '__do_insb'
#define __do_insb(p, b, n) readsb((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from net/ceph/messenger_v2.c:17:
In file included from include/linux/scatterlist.h:9:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:45:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(insw, (unsigned long p, void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:108:1: note: expanded from here
__do_insw
^
arch/powerpc/include/asm/io.h:542:56: note: expanded from macro '__do_insw'
#define __do_insw(p, b, n) readsw((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from net/ceph/messenger_v2.c:17:
In file included from include/linux/scatterlist.h:9:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:47:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(insl, (unsigned long p, void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:110:1: note: expanded from here
__do_insl
^
arch/powerpc/include/asm/io.h:543:56: note: expanded from macro '__do_insl'
#define __do_insl(p, b, n) readsl((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from net/ceph/messenger_v2.c:17:
In file included from include/linux/scatterlist.h:9:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:49:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsb, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:112:1: note: expanded from here
__do_outsb
^
arch/powerpc/include/asm/io.h:544:58: note: expanded from macro '__do_outsb'
#define __do_outsb(p, b, n) writesb((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from net/ceph/messenger_v2.c:17:
In file included from include/linux/scatterlist.h:9:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:51:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsw, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:114:1: note: expanded from here
__do_outsw
^
arch/powerpc/include/asm/io.h:545:58: note: expanded from macro '__do_outsw'
#define __do_outsw(p, b, n) writesw((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from net/ceph/messenger_v2.c:17:
In file included from include/linux/scatterlist.h:9:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:53:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsl, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:116:1: note: expanded from here
__do_outsl
^
arch/powerpc/include/asm/io.h:546:58: note: expanded from macro '__do_outsl'
#define __do_outsl(p, b, n) writesl((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
>> net/ceph/messenger_v2.c:2808:5: warning: stack frame size of 2288 bytes in function 'ceph_con_v2_try_read' [-Wframe-larger-than=]
int ceph_con_v2_try_read(struct ceph_connection *con)
^
7 warnings generated.

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for HOTPLUG_CPU
Depends on SMP && (PPC_PSERIES || PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE
Selected by
- PM_SLEEP_SMP && SMP && (ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE && PM_SLEEP


vim +/ceph_con_v1_try_write +1355 net/ceph/messenger_v1.c

2f713615ddd9d8 Ilya Dryomov 2020-11-12 1350
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1351 /*
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1352 * Write something to the socket. Called in a worker thread when the
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1353 * socket appears to be writeable and we have something ready to send.
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1354 */
2f713615ddd9d8 Ilya Dryomov 2020-11-12 @1355 int ceph_con_v1_try_write(struct ceph_connection *con)
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1356 {
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1357 int ret = 1;
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1358
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1359 dout("try_write start %p state %d\n", con, con->state);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1360 if (con->state != CEPH_CON_S_PREOPEN &&
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1361 con->state != CEPH_CON_S_V1_BANNER &&
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1362 con->state != CEPH_CON_S_V1_CONNECT_MSG &&
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1363 con->state != CEPH_CON_S_OPEN)
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1364 return 0;
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1365
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1366 /* open the socket first? */
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1367 if (con->state == CEPH_CON_S_PREOPEN) {
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1368 BUG_ON(con->sock);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1369 con->state = CEPH_CON_S_V1_BANNER;
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1370
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1371 con_out_kvec_reset(con);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1372 prepare_write_banner(con);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1373 prepare_read_banner(con);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1374
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1375 BUG_ON(con->in_msg);
a56dd9bf47220c Ilya Dryomov 2020-11-12 1376 con->v1.in_tag = CEPH_MSGR_TAG_READY;
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1377 dout("try_write initiating connect on %p new state %d\n",
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1378 con, con->state);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1379 ret = ceph_tcp_connect(con);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1380 if (ret < 0) {
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1381 con->error_msg = "connect error";
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1382 goto out;
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1383 }
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1384 }
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1385
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1386 more:
a56dd9bf47220c Ilya Dryomov 2020-11-12 1387 dout("try_write out_kvec_bytes %d\n", con->v1.out_kvec_bytes);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1388 BUG_ON(!con->sock);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1389
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1390 /* kvec data queued? */
a56dd9bf47220c Ilya Dryomov 2020-11-12 1391 if (con->v1.out_kvec_left) {
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1392 ret = write_partial_kvec(con);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1393 if (ret <= 0)
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1394 goto out;
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1395 }
a56dd9bf47220c Ilya Dryomov 2020-11-12 1396 if (con->v1.out_skip) {
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1397 ret = write_partial_skip(con);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1398 if (ret <= 0)
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1399 goto out;
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1400 }
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1401
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1402 /* msg pages? */
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1403 if (con->out_msg) {
a56dd9bf47220c Ilya Dryomov 2020-11-12 1404 if (con->v1.out_msg_done) {
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1405 ceph_msg_put(con->out_msg);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1406 con->out_msg = NULL; /* we're done with this one */
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1407 goto do_next;
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1408 }
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1409
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1410 ret = write_partial_message_data(con);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1411 if (ret == 1)
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1412 goto more; /* we need to send the footer, too! */
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1413 if (ret == 0)
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1414 goto out;
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1415 if (ret < 0) {
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1416 dout("try_write write_partial_message_data err %d\n",
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1417 ret);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1418 goto out;
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1419 }
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1420 }
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1421
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1422 do_next:
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1423 if (con->state == CEPH_CON_S_OPEN) {
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1424 if (ceph_con_flag_test_and_clear(con,
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1425 CEPH_CON_F_KEEPALIVE_PENDING)) {
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1426 prepare_write_keepalive(con);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1427 goto more;
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1428 }
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1429 /* is anything else pending? */
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1430 if (!list_empty(&con->out_queue)) {
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1431 prepare_write_message(con);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1432 goto more;
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1433 }
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1434 if (con->in_seq > con->in_seq_acked) {
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1435 prepare_write_ack(con);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1436 goto more;
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1437 }
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1438 }
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1439
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1440 /* Nothing to do! */
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1441 ceph_con_flag_clear(con, CEPH_CON_F_WRITE_PENDING);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1442 dout("try_write nothing else to write.\n");
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1443 ret = 0;
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1444 out:
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1445 dout("try_write done on %p ret %d\n", con, ret);
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1446 return ret;
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1447 }
2f713615ddd9d8 Ilya Dryomov 2020-11-12 1448

:::::: The code at line 1355 was first introduced by commit
:::::: 2f713615ddd9d805b6c5e79c52e0e11af99d2bf1 libceph: move msgr1 protocol implementation to its own file

:::::: TO: Ilya Dryomov <idryomov@xxxxxxxxx>
:::::: CC: Ilya Dryomov <idryomov@xxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip