mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 07:40:27 +00:00
fs/v9fs: Fix the nxstyle errors in client.c and virtio_9p.c.
nxstyle reports "Missing blank line after declarations" in three places. Add the blank lines, because CI checks every file that a change touches. No functional change. The change is whitespace only. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
This commit is contained in:
parent
501bf8634d
commit
58bd942b35
2 changed files with 3 additions and 0 deletions
|
|
@ -1638,6 +1638,7 @@ int v9fs_client_init(FAR struct v9fs_client_s *client,
|
|||
while (*options != '\0')
|
||||
{
|
||||
FAR const char *sep = strchr(options, ',');
|
||||
|
||||
length = sep ? sep - options : strlen(options);
|
||||
|
||||
if (strncmp(options, "uname=", 6) == 0)
|
||||
|
|
@ -1819,5 +1820,6 @@ int v9fs_fid_get(FAR struct v9fs_client_s *client, uint32_t fid)
|
|||
ssize_t v9fs_parse_size(FAR const void *buffer)
|
||||
{
|
||||
FAR const struct v9fs_header_s *ptr = buffer;
|
||||
|
||||
return ptr->size;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -150,6 +150,7 @@ static void virtio_9p_destroy(FAR struct v9fs_transport_s *transport)
|
|||
{
|
||||
FAR struct virtio_9p_priv_s *priv =
|
||||
container_of(transport, struct virtio_9p_priv_s, transport);
|
||||
|
||||
virtio_unregister_driver(&priv->vdrv);
|
||||
fs_heap_free(priv);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue