Skip to content

[BUG]: Wrong type name io_uring_zcrx_rq #2396

@LilyWangLL

Description

@LilyWangLL

Is the type name here written incorrectly? It should be io_uring_zcrx_rqe instead.

io_uring_zcrx_rq rqRing_;

Image

Error message:

/mnt/vcpkg-ci/b/folly/src/5.03.03.00-5fe3445a7a.clean/folly/io/async/IoUringZeroCopyBufferPool.h:88:3: error: ‘io_uring_zcrx_rq’ does not name a type; did you mean ‘io_uring_zcrx_rqe’?
   88 |   io_uring_zcrx_rq rqRing_;
      |   ^~~~~~~~~~~~~~~~
      |   io_uring_zcrx_rqe
/mnt/vcpkg-ci/b/folly/src/5.03.03.00-5fe3445a7a.clean/folly/io/async/IoUringZeroCopyBufferPool.cpp: In constructor ‘folly::IoUringZeroCopyBufferPool::IoUringZeroCopyBufferPool(folly::IoUringZeroCopyBufferPool::Params)’:
/mnt/vcpkg-ci/b/folly/src/5.03.03.00-5fe3445a7a.clean/folly/io/async/IoUringZeroCopyBufferPool.cpp:73:5: error: ‘rqRing_’ was not declared in this scope; did you mean ‘ring_’?
   73 |     rqRing_.khead = nullptr;
      |     ^~~~~~~
      |     ring_

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions