public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Stefano Brivio <sbrivio@redhat.com>,
	passt-dev@passt.top, Laurent Vivier <lvivier@redhat.com>
Cc: David Gibson <david@gibson.dropbear.id.au>
Subject: [PATCH 0/5] Settings for Zed editor and minor fixups
Date: Fri, 21 Aug 2026 15:03:58 +1000	[thread overview]
Message-ID: <20260821050403.170891-1-david@gibson.dropbear.id.au> (raw)

I've been playing with the Zed editor again.  It's default settings
don't quite match passt's style, so add a config file to make it do
the right thing.  Also update some of the config for clangd to
suppress bogus warnings the way Zed invokes it.

Between them these also found a handful of minor but real code warts,
so fix those, too.

David Gibson (5):
  clangd: Add _GNU_SOURCE to default clangd options
  util: Eliminate a stray trailing whitespace
  util: Add missing O_CLOEXEC for !HAS_GETRANDOM path
  util, pasta: Remove some unneeded #includes
  Add Zed editor settings

 .clangd            | 2 +-
 .zed/settings.json | 4 ++++
 pasta.c            | 1 -
 util.c             | 7 ++-----
 4 files changed, 7 insertions(+), 7 deletions(-)
 create mode 100644 .zed/settings.json

-- 
2.53.0


             reply	other threads:[~2026-08-21  5:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-21  5:03 David Gibson [this message]
2026-08-21  5:03 ` [PATCH 1/5] clangd: Add _GNU_SOURCE to default clangd options David Gibson
2026-08-21  5:04 ` [PATCH 2/5] util: Eliminate a stray trailing whitespace David Gibson
2026-08-21  5:04 ` [PATCH 3/5] util: Add missing O_CLOEXEC for !HAS_GETRANDOM path David Gibson
2026-08-21  5:04 ` [PATCH 4/5] util, pasta: Remove some unneeded #includes David Gibson
2026-08-21  5:04 ` [PATCH 5/5] Add Zed editor settings David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260821050403.170891-1-david@gibson.dropbear.id.au \
    --to=david@gibson.dropbear.id.au \
    --cc=lvivier@redhat.com \
    --cc=passt-dev@passt.top \
    --cc=sbrivio@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).