All of
 help / color / mirror / Atom feed
From: Joe Perches <>
To: Simon Glass <>,
	LKML <>,
	Andrew Morton <>
Cc: Andy Whitcroft <>,
	Dwaipayan Ray <>,
	Lukas Bulwahn <>
Subject: Re: [PATCH] checkpatch: Support wide strings
Date: Sun, 01 Aug 2021 16:59:44 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <20210801170733.1.I3f9784fd3c1007d08ec2e70b151d137687575495@changeid>

On Sun, 2021-08-01 at 17:07 -0600, Simon Glass wrote:
> From: Joe Perches <>
> Allow prefixing typical strings with L for wide strings and u for
> unicode strings.

I believe the kernel didn't need this when I wrote it.
There were no wide or unicode strings in the kernel sources.

But looking now, there _are_ wide strings in the kernel sources.


Acked-by: Joe Perches <>

(with some false positives, but hey it shows some...)

$ git grep -P '\b[Lu]"[A-Za-z0-9 \.]*?"'
Documentation/sphinx/        u"""Handles signatures of function-like macros.
Documentation/sphinx/    u"""KernelABI (``kernel-abi``) directive"""
Documentation/sphinx/        u"""Run command ``cmd`` and return it's stdout as unicode."""
Documentation/sphinx/    u"""KernelFeat (``kernel-feat``) directive"""
Documentation/sphinx/        u"""Run command ``cmd`` and return it's stdout as unicode."""
Documentation/sphinx/    u"""KernelInclude (``kernel-include``) directive"""
Documentation/sphinx/    u"""
Documentation/sphinx/    u"""KernelImage directive
Documentation/sphinx/    u"""KernelImage directive
Documentation/sphinx/    u"""KernelRender directive
Documentation/sphinx/    u"""Load an additional configuration file into *namespace*.
Documentation/sphinx/    u"""MaintainersInclude (``maintainers-include``) directive"""
Documentation/sphinx/    u"""FlatTable (``flat-table``) directive"""
Documentation/sphinx/    u"""Builds a table from a double-stage list"""
Documentation/sphinx/        u"""parses the node from a :py:class:`FlatTable` directive's body"""
Documentation/sphinx/        u"""Round off the table definition.
arch/x86/platform/efi/quirks.c:static const efi_char16_t efi_dummy_name[] = L"DUMMY";
arch/x86/xen/efi.c:             efi_systab_xen.fw_vendor = __pa_symbol(L"UNKNOWN");
arch/x86/xen/efi.c:     status = efi.get_variable(L"MokSBStateRT", &shim_guid,
drivers/firmware/efi/libstub/secureboot.c:static const efi_char16_t shim_MokSBState_name[] = L"MokSBState";
drivers/firmware/efi/libstub/tpm.c:     L"MemoryOverwriteRequestControl";
drivers/firmware/efi/libstub/x86-stub.c:static const efi_char16_t apple[] = L"Apple";
drivers/input/keyboard/applespi.c:#define EFI_BL_LEVEL_NAME     L"KeyboardBacklightLevel"
drivers/net/wireless/intel/iwlwifi/fw/uefi.h:#define IWL_UEFI_OEM_PNVM_NAME             L"UefiCnvWlanOemSignedPnvm"
drivers/net/wireless/intel/iwlwifi/fw/uefi.h:#define IWL_UEFI_REDUCED_POWER_NAME        L"UefiCnvWlanReducedPower"
drivers/platform/mellanox/mlxbf-tmfifo.c:static efi_char16_t mlxbf_tmfifo_efi_name[] = L"RshimMacAddr";
fs/ceph/file.c:         dout("aio_write %p %llx.%llx %llu~%u" "got EOLDSNAPC, retrying\n",
include/linux/efi.h:    status = get_var(L"SecureBoot", &EFI_GLOBAL_VARIABLE_GUID, NULL, &size,
include/linux/efi.h:    get_var(L"SetupMode", &EFI_GLOBAL_VARIABLE_GUID, NULL, &size, &setupmode);
security/integrity/platform_certs/load_uefi.c:  status = efi.get_variable(L"MokIgnoreDB", &guid, NULL, &size, &db);
security/integrity/platform_certs/load_uefi.c:  mok = get_cert_list(L"MokListRT", &mok_var, &moksize, &status);
security/integrity/platform_certs/load_uefi.c:          db = get_cert_list(L"db", &secure_var, &dbsize, &status);
security/integrity/platform_certs/load_uefi.c:  dbx = get_cert_list(L"dbx", &secure_var, &dbxsize, &status);
security/integrity/platform_certs/load_uefi.c:  mokx = get_cert_list(L"MokListXRT", &mok_var, &mokxsize, &status);

      reply	other threads:[~2021-08-01 23:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-01 23:07 Simon Glass
2021-08-01 23:59 ` Joe Perches [this message]

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:

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

  git send-email \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH] checkpatch: Support wide strings' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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.