All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Corbet <corbet@lwn.net>
To: Changbin Du <changbin.du@gmail.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>,
	linux-pci@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	linux-crypto@vger.kernel.org, linux-kselftest@vger.kernel.org,
	linux-wireless@vger.kernel.org, linux-fpga@vger.kernel.org,
	linux-usb@vger.kernel.org, dri-devel@lists.freedesktop.org,
	intel-gfx@lists.freedesktop.org,
	Matthew Wilcox <willy@infradead.org>,
	Thomas Zimmermann <tzimmermann@suse.de>
Subject: Re: [PATCH v2] kernel-doc: rename the kernel-doc directive 'functions' to 'identifiers'
Date: Tue, 29 Oct 2019 02:00:27 -0600	[thread overview]
Message-ID: <20191029020027.516a6bce@lwn.net> (raw)
In-Reply-To: <20191029003120.llve32crfw63ovpw@mail.google.com>

On Tue, 29 Oct 2019 08:31:22 +0800
Changbin Du <changbin.du@gmail.com> wrote:

> Here python is different from C. Both empty string and None are False in python.
> Note such condition is common in python.

Treating both as a False value is reasonably common.  Treating them
elsewhere in the same code block as separate values is less
so; that's the part I would prefer to avoid.

Thanks,

jon

WARNING: multiple messages have this Message-ID (diff)
From: Jonathan Corbet <corbet-T1hC0tSOHrs@public.gmane.org>
To: Changbin Du <changbin.du-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Jani Nikula <jani.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
	linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org,
	linux-crypto-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kselftest-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-fpga-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	intel-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	Matthew Wilcox <willy-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
	Thomas Zimmermann <tzimmermann-l3A5Bk7waGM@public.gmane.org>
Subject: Re: [PATCH v2] kernel-doc: rename the kernel-doc directive 'functions' to 'identifiers'
Date: Tue, 29 Oct 2019 02:00:27 -0600	[thread overview]
Message-ID: <20191029020027.516a6bce@lwn.net> (raw)
In-Reply-To: <20191029003120.llve32crfw63ovpw-Ru1csStN2yBibQn6LdNjmg@public.gmane.org>

On Tue, 29 Oct 2019 08:31:22 +0800
Changbin Du <changbin.du-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> Here python is different from C. Both empty string and None are False in python.
> Note such condition is common in python.

Treating both as a False value is reasonably common.  Treating them
elsewhere in the same code block as separate values is less
so; that's the part I would prefer to avoid.

Thanks,

jon

WARNING: multiple messages have this Message-ID (diff)
From: Jonathan Corbet <corbet@lwn.net>
To: Changbin Du <changbin.du@gmail.com>
Cc: Matthew Wilcox <willy@infradead.org>,
	dri-devel@lists.freedesktop.org,
	Thomas Zimmermann <tzimmermann@suse.de>,
	linux-doc@vger.kernel.org, linux-pci@vger.kernel.org,
	linux-fpga@vger.kernel.org, linux-usb@vger.kernel.org,
	linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org, linux-crypto@vger.kernel.org,
	linux-kselftest@vger.kernel.org, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH v2] kernel-doc: rename the kernel-doc directive 'functions' to 'identifiers'
Date: Tue, 29 Oct 2019 02:00:27 -0600	[thread overview]
Message-ID: <20191029020027.516a6bce@lwn.net> (raw)
Message-ID: <20191029080027.80N5PiCwOA00mQpE-exakF_U3MFST1UyQss3MIXik1U@z> (raw)
In-Reply-To: <20191029003120.llve32crfw63ovpw@mail.google.com>

On Tue, 29 Oct 2019 08:31:22 +0800
Changbin Du <changbin.du@gmail.com> wrote:

> Here python is different from C. Both empty string and None are False in python.
> Note such condition is common in python.

Treating both as a False value is reasonably common.  Treating them
elsewhere in the same code block as separate values is less
so; that's the part I would prefer to avoid.

Thanks,

jon
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

WARNING: multiple messages have this Message-ID (diff)
From: Jonathan Corbet <corbet@lwn.net>
To: Changbin Du <changbin.du@gmail.com>
Cc: Matthew Wilcox <willy@infradead.org>,
	dri-devel@lists.freedesktop.org,
	Thomas Zimmermann <tzimmermann@suse.de>,
	linux-doc@vger.kernel.org, linux-pci@vger.kernel.org,
	linux-fpga@vger.kernel.org, linux-usb@vger.kernel.org,
	linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org, linux-crypto@vger.kernel.org,
	linux-kselftest@vger.kernel.org, intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH v2] kernel-doc: rename the kernel-doc directive 'functions' to 'identifiers'
Date: Tue, 29 Oct 2019 02:00:27 -0600	[thread overview]
Message-ID: <20191029020027.516a6bce@lwn.net> (raw)
Message-ID: <20191029080027.zMRfkoQWngAUkWaeqDEvRbwPKnFCTpgxlXRUKfWWeK8@z> (raw)
In-Reply-To: <20191029003120.llve32crfw63ovpw@mail.google.com>

On Tue, 29 Oct 2019 08:31:22 +0800
Changbin Du <changbin.du@gmail.com> wrote:

> Here python is different from C. Both empty string and None are False in python.
> Note such condition is common in python.

Treating both as a False value is reasonably common.  Treating them
elsewhere in the same code block as separate values is less
so; that's the part I would prefer to avoid.

Thanks,

jon
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2019-10-29  8:00 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-20 13:17 [PATCH v2] kernel-doc: rename the kernel-doc directive 'functions' to 'identifiers' Changbin Du
2019-10-20 18:05 ` ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2019-10-20 18:35 ` ✓ Fi.CI.BAT: success " Patchwork
2019-10-20 20:14 ` ✗ Fi.CI.IGT: failure " Patchwork
2019-10-24 18:19 ` [PATCH v2] " Jonathan Corbet
2019-10-24 18:19   ` [Intel-gfx] " Jonathan Corbet
2019-10-24 18:19   ` Jonathan Corbet
2019-10-25  6:57   ` Jani Nikula
2019-10-25  6:57     ` [Intel-gfx] " Jani Nikula
2019-10-25  6:57     ` Jani Nikula
2019-10-25 14:48     ` Changbin Du
2019-10-25 14:48       ` [Intel-gfx] " Changbin Du
2019-10-25 14:48       ` Changbin Du
2019-10-28  9:24       ` Jani Nikula
2019-10-28  9:24         ` [Intel-gfx] " Jani Nikula
2019-10-28  9:24         ` Jani Nikula
2019-10-28  9:24         ` Jani Nikula
2019-10-28  9:24         ` Jani Nikula
2019-10-29  0:31         ` Changbin Du
2019-10-29  0:31           ` [Intel-gfx] " Changbin Du
2019-10-29  0:31           ` Changbin Du
2019-10-29  5:42           ` Markus Heiser
2019-10-29  5:42             ` [Intel-gfx] " Markus Heiser
2019-10-29  5:42             ` Markus Heiser
2019-10-29  5:42             ` Markus Heiser
2019-10-29  8:00           ` Jonathan Corbet [this message]
2019-10-29  8:00             ` [Intel-gfx] " Jonathan Corbet
2019-10-29  8:00             ` Jonathan Corbet
2019-10-29  8:00             ` Jonathan Corbet
2019-10-31 13:50             ` Changbin Du
2019-10-31 13:50               ` [Intel-gfx] " Changbin Du
2019-10-31 13:50               ` Changbin Du

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=20191029020027.516a6bce@lwn.net \
    --to=corbet@lwn.net \
    --cc=changbin.du@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-fpga@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=tzimmermann@suse.de \
    --cc=willy@infradead.org \
    /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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.