This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please check for false positives in the output before submitting a patch. | |
When using "patch" mode, carefully review the patch before submitting it. | |
diff -u -p ./fs/erofs/erofs_fs.h /tmp/nothing/fs/erofs/erofs_fs.h | |
--- ./fs/erofs/erofs_fs.h | |
+++ /tmp/nothing/fs/erofs/erofs_fs.h | |
@@ -152,7 +152,6 @@ struct erofs_xattr_ibody_header { | |
__le32 h_reserved; | |
__u8 h_shared_count; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/arch/alpha/include/asm/hwrpb.h b/arch/alpha/include/asm/hwrpb.h | |
index d8180e527a1e..fc76f36265ad 100644 | |
--- a/arch/alpha/include/asm/hwrpb.h | |
+++ b/arch/alpha/include/asm/hwrpb.h | |
@@ -152,7 +152,7 @@ struct memdesc_struct { | |
unsigned long chksum; | |
unsigned long optional_pa; | |
unsigned long numclusters; | |
- struct memclust_struct cluster[0]; | |
+ struct memclust_struct cluster[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <assert.h> | |
#define BITS_PER_BYTE 8 | |
#define BITS_PER_LONG 64 | |
#define INT_MAX ((int)(~0U >> 1)) | |
#define UINT_MAX (~0U) | |
#define __const_hweight8(w) ((unsigned int) ((!!((w) & (1ULL << 0))) + (!!((w) & (1ULL << 1))) + (!!((w) & (1ULL << 2))) + (!!((w) & (1ULL << 3))) + (!!((w) & (1ULL << 4))) + (!!((w) & (1ULL << 5))) + (!!((w) & (1ULL << 6))) + (!!((w) & (1ULL << 7))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# SPDX-License-Identifier: GPL-2.0 | |
# check_static_export.pl - check that exported symbols are global | |
# (c) 2019 Denis Efremov <efremov@linux.com> | |
use strict; | |
use warnings; | |
foreach (@ARGV) { | |
my %symb; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use warnings; | |
use strict; | |
use Fcntl qw(:flock SEEK_END); | |
unless (@ARGV) { | |
die("usage: $0 <files>\n"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am evdenis on github. | |
* I am efremov (https://keybase.io/efremov) on keybase. | |
* I have a public key ASDoFXA8YfMZwcyRUpQRSF9BR9nP9TySXUdYl0Y3qgwnfwo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version = "0.1" | |
description = "count and display the number of function calls" | |
archive(byte,plugin) = "countCalls.cma" | |
archive(native,plugin) = "countCalls.cmxs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName blog.llkl.org | |
ServerAdmin admin@llkl.org | |
ProxyRequests Off | |
ProxyPreserveHost On | |
<Location /> | |
ProxyPass unix:/run/ghost/sock|http://127.0.0.1/ | |
ProxyPassReverse unix:/run/ghost/sock|http://127.0.0.1/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
# Остановить скрипт, если любая команда завершится с ошибкой | |
set -e | |
# -- BEGIN CONFIGURATION -- | |
## Директория, где располагаются файлы Ghost | |
ghost_dir='/var/www/ghost' | |
## Директория, куда загрузить обновлённую версию | |
download_dir="$(mktemp -d)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Ghost blog | |
After=network.target | |
[Service] | |
Type=simple | |
PIDFile=/run/ghost/pid | |
WorkingDirectory=/var/www/ghost | |
RuntimeDirectory=ghost | |
User=ghost |
NewerOlder