message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
build: prevent build failure when test signing required
If due to any reason the test signing of the driver is requested
the build with EWDK may fail due to unknown file digest algorithm.
Make sure the default algorithm is always defined (sha256). | @@ -172,6 +172,9 @@ Common property definitions used by all drivers:
<ClCompile>
<WppModuleName>$(TargetFileName)</WppModuleName>
</ClCompile>
+ <DriverSign>
+ <FileDigestAlgorithm>sha256</FileDigestAlgorithm>
+ </DriverSign>
</ItemDefinitionGroup>
<!-- Enable CETCompat for vs >= 2019 or EWDK >= 2004 -->
|
Update declaration of mscorlib | @@ -206,6 +206,7 @@ static const CLR_RT_MethodHandler method_lookup[] =
NULL,
NULL,
NULL,
+ NULL,
Library_corlib_native_System_Convert::ToBase64String___STATIC__STRING__SZARRAY_U1__I4__I4__BOOLEAN,
NULL,
NULL,
@@ -266,6 +267,7 @@ static const CLR_RT_MethodHandler method_lookup[] =
NULL,
NULL,
NULL,
+ NULL,
Library_corl... |
vere: skip SIGINFO on linux (unavailable) | @@ -556,6 +556,7 @@ _king_sign_init(void)
// handle SIGINFO (if available)
//
+#ifndef U3_OS_linux
{
u3_usig* sig_u;
@@ -566,6 +567,7 @@ _king_sign_init(void)
sig_u->nex_u = u3_Host.sig_u;
u3_Host.sig_u = sig_u;
}
+#endif
// handle SIGUSR1 (fallback for SIGINFO)
//
@@ -608,8 +610,12 @@ _king_sign_cb(uv_signal_t* sil_u,... |
compat: mingw: make smoke test use the same parameters as urbit-tests | @@ -136,4 +136,4 @@ jobs:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: make build/urbit build/urbit-worker
- - run: build/urbit -d -B ../../bin/brass.pill -F zod && curl -f --data '{"source":{"dojo":"+hood/exit"},"sink":{"app":"hood"}}' http://localhost:12321
+ - run: build/urbit -l -d -B ../../bin/solid.... |
nimble/ll: Rename BLE_DEVICE to BLE_CONTROLLER
BLE_CONTROLLER better describes the function of this syscfg setting and
fits better with BLE_HOST.
Also BLE_LP_CLOCK is redundant. | #
syscfg.defs:
- BLE_DEVICE:
- description: >
- Used by package management system to include BLE hardware
- drivers.
- value: 1
-
- BLE_LP_CLOCK:
+ BLE_CONTROLLER:
description: >
- Used by BSP packages to configure LP clock for controller.
+ Indicates that NimBLE controller is present. The default value for
+ this sett... |
Fixing link in hardware/README.md | @@ -7,7 +7,7 @@ source <xilinx_root>/Vivado/<version>/settings64.sh
export XILINXD_LICENSE_FILE=<pointer to Xilinx license>
```
-The SNAP make process is internally defining a variable `${SNAP_ROOT}` which is pointing to SNAP's [root directory](..).
+The SNAP make process is internally defining a variable `${SNAP_ROOT}... |
Remove optionality from --sao
SAO parameter was optional which caused that if one wants to pass argument
one needs to use "=" which is confusing since this is not required for any
other parameter | @@ -47,7 +47,7 @@ static const struct option long_options[] = {
{ "input-fps", required_argument, NULL, 0 },
{ "deblock", required_argument, NULL, 0 },
{ "no-deblock", no_argument, NULL, 0 },
- { "sao", optional_argument, NULL, 0 },
+ { "sao", required_argument, NULL, 0 },
{ "no-sao", no_argument, NULL, 0 },
{ "rdoq", ... |
stale: don't limit to issues | @@ -28,10 +28,10 @@ staleLabel: stale
# Comment to post when marking as stale. Set to `false` to disable
markComment: >
- I mark this issue stale as it did not have any activity for one year.
+ I mark this stale as it did not have any activity for one year.
I'll close it in two weeks if no further activity occurs.
- If... |
TestsUser/DiskImage: Adapt to library changes. | @@ -56,12 +56,12 @@ int main (int argc, char *argv[]) {
continue;
}
- EFI_STATUS Status;
+ BOOLEAN Result;
OC_APPLE_DISK_IMAGE_CONTEXT *DmgContext;
- Status = OcAppleDiskImageInitializeContext (Dmg, DmgSize, &DmgContext);
- if (EFI_ERROR (Status)) {
- printf ("Context initialization error %zx\n", Status);
+ Result = Oc... |
fixing go tests | @@ -19,14 +19,7 @@ post-clean:
$(Q) $(RM) -f $(BINARY_NAME) image ../runtime/soop.data
deps:
- $(GOGET) github.com/spf13/cobra
- $(GOGET) github.com/vishvananda/netlink
- $(GOGET) github.com/jstemmer/go-junit-report
- $(GOGET) github.com/d2g/dhcp4
- $(GOGET) github.com/d2g/dhcp4client
- $(GOGET) github.com/go-errors/er... |
remove frame control options | @@ -868,9 +868,6 @@ void retro_set_environment(retro_environment_t cb)
{ "np2_clk_mult" , "CPU Clock Multiplier (Restart); 4|5|6|8|10|12|16|20|24|30|36|40|42|1|2" },
{ "np2_ExMemory" , "RAM Size (Restart); 3|7|11|13|16|32|64|120|230|1" },
{ "np2_gdc" , "GDC; uPD7220|uPD72020" },
- { "np2_dispsync" , "Disp Vsync; ON|OFF... |
Fix access to the uninitialized variable database | @@ -2169,6 +2169,25 @@ InitPlan(QueryDesc *queryDesc, int eflags)
estate->es_evTuple = NULL;
estate->es_useEvalPlan = false;
+ /*
+ * In QD, we need to initialize the variable database before
+ * ExecInitNode(), that makes us can access the database
+ * correctly in places such as magma_beginscan(),
+ * magma_insertini... |
Fix test_french_charref_decimal() to work for | @@ -689,8 +689,14 @@ START_TEST(test_french_charref_decimal)
const char *text =
"<?xml version='1.0' encoding='iso-8859-1'?>\n"
"<doc>éèàçêÈ</doc>";
- run_character_check(text,
- "\xC3\xA9\xC3\xA8\xC3\xA0\xC3\xA7\xC3\xAA\xC3\x88");
+#ifdef XML_UNICODE
+ const XML_Char *expected =
+ XCS("\x... |
Tweak module/add-paths docstring | (defn module/add-paths
```
- Add paths to module/paths for a given loader such that
+ Add paths to `module/paths` for a given loader such that
the generated paths behave like other module types, including
- relative imports and syspath imports. ext is the file extension
- to associate with this module type, including t... |
advanced_https_ota: Remove check for CONFIG_BOOTLOADER_APP_ANTI_ROLLBACK for validating image.
Image should be validated even if CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE is enabled | @@ -197,7 +197,7 @@ void app_main(void)
*/
ESP_ERROR_CHECK(example_connect());
-#if defined(CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE) && defined(CONFIG_BOOTLOADER_APP_ANTI_ROLLBACK)
+#if defined(CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE)
/**
* We are treating successful WiFi connection as a checkpoint to cancel rollback
* pro... |
removed extra parameter not being used in print flist distribution | @@ -335,7 +335,7 @@ static int distribution_gather(struct distribute_option *option, int rank, mfu_f
#define DISTRIBUTE_KEY_SIZE 1
static int print_flist_distribution(struct distribute_option *option,
mfu_flist* pflist,
- int rank, int ranks)
+ int rank)
{
/* file list to use */
@@ -715,7 +715,7 @@ int main(int argc, c... |
[core] restart dead proc on connect error if local
restart dead proc on connect error only if proc started by lighttpd | @@ -2117,9 +2117,11 @@ static handler_t gw_write_error(gw_handler_ctx * const hctx, request_st * const
/* (optimization to detect backend process exit while processing a
* large number of ready events; (this block could be removed)) */
+ if (hctx->proc && hctx->proc->is_local) {
server * const srv = r->con->srv;
if (0 ... |
new binary for ya tool app_host and doc fixes | },
"app_host": {
"formula": {
- "sandbox_id": 588757366,
+ "sandbox_id": 590215987,
"match": "app_host_launcher"
},
"executable": {
|
test: do cleanup before running check_import | @@ -22,6 +22,9 @@ exit_if_fail "For export/import /dev must be mounted"
[ -e /dev/stdout ]
exit_if_fail "For export/import /dev must be mounted"
+"$KDB" rm -r $ROOT
+"$KDB" rm $SIDE
+
for PLUGIN in $PLUGINS; do
if is_not_rw_storage; then
echo "-- $PLUGIN not a read-write storage"
|
temporary disable Android filesystem javascript layer in Node.js code | @@ -21,7 +21,7 @@ JXmobile.prototype.call = function () {
return this;
};
-var isAndroid = process.platform == "android";
+var isAndroid = false; //process.platform == "android";
global.Mobile = JXmobile;
|
bootutil: Support trailers larger than sector size for swap scratch | @@ -490,6 +490,7 @@ boot_swap_sectors(int idx, uint32_t sz, struct boot_loader_state *state,
const struct flash_area *fap_scratch;
uint32_t copy_sz;
uint32_t trailer_sz;
+ uint32_t sector_sz;
uint32_t img_off;
uint32_t scratch_trailer_off;
struct boot_swap_state swap_state;
@@ -514,6 +515,21 @@ boot_swap_sectors(int id... |
Remove tests for transients is_efas | @@ -22,31 +22,28 @@ temp3=temp3.$label.grib
# Create a starting GRIB with a basic local definition for MARS
${tools_dir}/grib_set -s tablesVersion=19,setLocalDefinition=1,stream=efas $ECCODES_SAMPLES_PATH/GRIB2.tmpl $sample
-# Check is_efas key
-grib_check_key_equals $sample is_efas 0
-
# Test a non-ensemble, instantan... |
remove cmake from package requirements because we now require a source build of cmake. Add mesa requirement because vdi now needs #include <GL/glx.h>. Please check what the actual package name is on Suse. I guessed it was same as redhat | #### Debian or Ubuntu Packages
```
- sudo apt-get install cmake g++-5 g++-7 pkg-config libpci-dev libnuma-dev libelf-dev libffi-dev git python libopenmpi-dev gawk
+ sudo apt-get install g++-5 g++-7 pkg-config libpci-dev libnuma-dev libelf-dev libffi-dev git python libopenmpi-dev gawk mesa-common-dev
# Additional packag... |
acrn-config: add RDT configurable item for QEMU sdc xml
add RDT configurable item for QEMU sdc xml
Acked-by: Victor Sun | <RELOC desc="Enable hypervisor relocation">y</RELOC>
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
+ <RDT desc="Intel RDT (Resource Director Technology).">
+ <RDT_ENABLED desc="Enable RDT">n</RDT_ENAB... |
qlog: support the max stream frame type | @@ -87,6 +87,17 @@ def handle_max_data_send(event):
"maximum": event["limit"]
}
+def handle_max_streams_send(event):
+ if event["is-unidirectional"]:
+ stream_type = "unidirectional"
+ else:
+ stream_type = "bidirectional"
+ return {
+ "frame_type": "max_streams",
+ "stream_type": stream_type,
+ "maximum": event["limit... |
unix/mpconfigport_coverage: Enable ure groups, span, start, end and sub. | #define MICROPY_PY_URANDOM_EXTRA_FUNCS (1)
#define MICROPY_PY_IO_BUFFEREDWRITER (1)
#define MICROPY_PY_IO_RESOURCE_STREAM (1)
+#define MICROPY_PY_URE_MATCH_GROUPS (1)
+#define MICROPY_PY_URE_MATCH_SPAN_START_END (1)
+#define MICROPY_PY_URE_SUB (1)
#define MICROPY_VFS_POSIX (1)
#undef MICROPY_VFS_FAT
#define MICROPY_VFS... |
Added /var/run/appscope/appscope.sock as the first option for edge. | @@ -769,8 +769,15 @@ cfgMtcVerbositySetFromStr(config_t* cfg, const char* value)
cfgMtcVerbositySet(cfg, x);
}
+#define EDGE_PATH "/var/run/appscope/appscope.sock"
static char*
cfgEdgePath(void){
+ // 1) If EDGE_PATH can be accessed, return that.
+ if (g_fn.access(EDGE_PATH, R_OK|W_OK) == 0) {
+ return strdup(EDGE_PATH... |
sse2: add NEON implementation of simde_mm_load{,u}_pd | @@ -2999,7 +2999,9 @@ simde_mm_load_pd (simde_float64 const mem_addr[HEDLEY_ARRAY_PARAM(2)]) {
#else
simde__m128d_private r_;
- #if defined(SIMDE_ARM_NEON_A32V7_NATIVE)
+ #if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
+ r_.neon_f64 = vld1q_f64(mem_addr);
+ #elif defined(SIMDE_ARM_NEON_A32V7_NATIVE)
r_.neon_u32 = vld1q_u32(HE... |
'in' is now a warning. | @@ -947,8 +947,10 @@ continue : Tcontinue
forstmt : Tfor optexprln loopcond optexprln block
{$$ = mkloopstmt($1->loc, $2, $3, $4, $5);}
- | Tfor expr Tin exprln block
- {$$ = mkiterstmt($1->loc, $2, $4, $5);}
+ | Tfor expr Tin exprln block {
+ $$ = mkiterstmt($1->loc, $2, $4, $5);
+ fprintf(stderr, "%s:%d: deprecated f... |
fix crash in evhtp_unbind_socket when evlistener fails | @@ -767,6 +767,7 @@ htp__callback_find_(evhtp_callbacks_t * cbs,
unsigned int * end_offset)
{
size_t path_len;
+
#ifndef EVHTP_DISABLE_REGEX
regmatch_t pmatch[28];
#endif
@@ -3691,6 +3692,11 @@ evhtp_send_reply_chunk_end(evhtp_request_t * request)
void
evhtp_unbind_socket(evhtp_t * htp)
{
+ if (htp == NULL || htp->serv... |
quic: handle duplicate packet from quicly
Type: fix | @@ -500,10 +500,23 @@ quic_on_receive (quicly_stream_t * stream, size_t off, const void *src,
max_enq = svm_fifo_max_enqueue_prod (f);
QUIC_DBG (3, "Enqueuing %u at off %u in %u space", len, off, max_enq);
- if (off - stream_data->app_rx_data_len + len > max_enq)
+ /* Handle duplicate packet/chunk from quicly */
+ if (... |
fix(span) eliminate warning in lv_get_snippet_cnt() | @@ -59,7 +59,7 @@ static bool lv_txt_get_snippet(const char * txt, const lv_font_t * font, lv_coor
uint32_t * end_ofs);
static void lv_snippet_clear(void);
-static uint16_t lv_get_snippet_cnt();
+static uint16_t lv_get_snippet_cnt(void);
static void lv_snippet_push(lv_snippet_t * item);
static lv_snippet_t * lv_get_sni... |
doc: PG 13 relnotes: adjust partitioning items
Reported-by: Amit Langote | @@ -271,6 +271,10 @@ Author: Tom Lane <tgl@sss.pgh.pa.us>
Allow partitionwise joins to happen in more cases (Ashutosh Bapat, Etsuro Fujita, Amit Langote, Tom Lane)
</para>
+<para>
+For example, partitionwise joins can now happen between partitioned
+tables where the ancestors do not exactly match.
+</para>
</listitem>
... |
zephyr/shim/src/flash.c: Format with clang-format
BRANCH=none
TEST=none | @@ -167,8 +167,7 @@ uint32_t crec_flash_physical_get_writable_flags(uint32_t cur_flags)
}
#if IS_ENABLED(CONFIG_SHELL)
-static int command_flashchip(const struct shell *shell,
- size_t argc,
+static int command_flashchip(const struct shell *shell, size_t argc,
char **argv)
{
uint8_t manufacturer;
@@ -177,23 +176,19 @@ ... |
remove conversion U32 -> S8 warnings
using an inline U32ToS8() function | @@ -515,13 +515,17 @@ static WEBP_INLINE int ColorTransformDelta(int8_t color_pred, int8_t color) {
return ((int)color_pred * color) >> 5;
}
+static WEBP_INLINE int8_t U32ToS8(uint32_t v) {
+ return (int8_t)(v & 0xff);
+}
+
void VP8LTransformColor_C(const VP8LMultipliers* const m, uint32_t* data,
int num_pixels) {
int ... |
netutils/webclient: check the request argument
Do an initial check on the argument of request in client_send_request
function to avoid possible segmentation faults. | @@ -1245,6 +1245,11 @@ int client_send_request(struct http_client_request_t *request)
pthread_t tid;
pthread_addr_t ret = NULL;
+ if (request == NULL) {
+ printf("Error: Request is null\n");
+ goto errret;
+ }
+
if (request->method < WGET_MODE_GET || request->method > WGET_MODE_DELETE) {
printf("Error: Incorrect method... |
CMSIS-DSP: Improved test framework
Improved measurement calibration when cached used on Cortex-A | #include "arm_math.h"
#include "Calibrate.h"
+#ifdef CORTEXA
+#define CALIBNB 1
+#else
#define CALIBNB 20
+#endif
+
namespace Client
{
IORunner::IORunner(IO *io,PatternMgr *mgr, Testing::RunningMode runningMode):m_io(io), m_mgr(mgr)
{
- Testing::cycles_t current;
+ volatile Testing::cycles_t current;
this->m_runningMod... |
+on-wake compiles | on-hear-open
:: +on-hear-forward: maybe forward a packet to someone else
::
+ :: TODO: filter for transitive closure of sponsors/sponsees.
+ ::
++ on-hear-forward
|= [=lane =packet]
^+ event-core
==
::
event-core
- ::
+ :: +on-hear-shut: handle receipt of encrypted packet
::
++ on-hear-shut
|= [=lane =packet]
=- ?>(?=(... |
Add default support for I2C and PWM IOs.
Default generator now supports I2C and PWM periphery blocks. | @@ -19,6 +19,8 @@ class DigitalTop(implicit p: Parameters) extends ChipyardSystem
with testchipip.CanHaveBackingScratchpad // Enables optionally adding a backing scratchpad
with testchipip.CanHavePeripheryBlockDevice // Enables optionally adding the block device
with testchipip.CanHavePeripheryTLSerial // Enables optio... |
iotjs: Fix (re)connected status in callback
Note: TizenRT wifi manager "attempt" callback name missleaded me,
maybe it could be renamed.
Forwarded: | @@ -54,7 +54,8 @@ static void iotjs_startup_wifi_connect(void);
static void iotjs_startup_wifi_sta_connected(wifi_manager_result_e status)
{
printf("log: %s status=0x%x\n", __FUNCTION__, status);
- g_is_connected = true;
+ g_is_connected = ((status == WIFI_MANAGER_SUCCESS) ||
+ (status == WIFI_MANAGER_ALREADY_CONNECTED... |
CFramework: Support comparison of empty key sets | @@ -233,7 +233,8 @@ int init (int argc, char ** argv);
nbTest++; \
KeySet * mmks1 = (KeySet *) pks1; \
KeySet * mmks2 = (KeySet *) pks2; \
- if (mmks1 != mmks2) \
+ int bothEmpty = ksGetSize (mmks1) == 0 && ksGetSize (mmks1) == ksGetSize (mmks2); \
+ if (mmks1 != mmks2 && !bothEmpty) \
{ \
Key * cmmk1 = 0; \
Key * cmmk... |
update resultinfo structure | @@ -92,7 +92,7 @@ def parseData():
a = open("map_thegame.txt", "r")
beatmap_info = eval(a.read())
- Info = namedtuple("Info", "time combo combostatus showscore score accuracy clicks hitresult timestamp more")
+ Info = namedtuple("Info", "time combo combostatus showscore score accuracy clicks hitresult timestamp id more... |
sim/video: call validate_buf when set_buf | @@ -190,6 +190,11 @@ static int sim_video_data_validate_buf(uint8_t *addr, uint32_t size)
static int sim_video_data_set_buf(uint8_t *addr, uint32_t size)
{
+ if (sim_video_data_validate_buf(addr, size) < 0)
+ {
+ return -EINVAL;
+ }
+
g_sim_video_priv.next_buf = addr;
g_sim_video_priv.buf_size = size;
return 0;
|
fpgainfo: fix N5010 subvendor id to allow board plugin to be loaded
The existing N5010/N5011 board images have subvendor id = 0.
As checking subvendor and subdevice id has been added, the table must match. | @@ -57,12 +57,6 @@ static pthread_mutex_t board_plugin_lock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_N
// Board plug-in table
static platform_data platform_data_table[] = {
- { 0x1c2c, 0x1000, 0x1c2c, 0x0, -1, "libboard_n5010.so", NULL,
- "Silicom FPGA SmartNIC N5010 Series" },
-
- { 0x1c2c, 0x1001, 0x1c2c, 0x0, -1, "libb... |
roll back previous commit (use standard C++ atomics on msvc | @@ -17,7 +17,7 @@ terms of the MIT license. A copy of the license can be found in the file
// instead of passing the memory order as a parameter.
// -----------------------------------------------------------------------------------------------
-#if defined(__cplusplus) && !defined(_MSC_VER)
+#if defined(__cplusplus)
/... |
Do not read if output pointer is NULL
Skip reading if output pointer is NULL even if the length of the input buffer is 0.
The memory sanitizer will mark this as an error. | @@ -171,10 +171,12 @@ int mbedtls_mpi_core_read_le( mbedtls_mpi_uint *X,
return( MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL );
if( X != NULL )
+ {
memset( X, 0, nx * ciL );
for( i = 0; i < buflen; i++ )
X[i / ciL] |= ((mbedtls_mpi_uint) buf[i]) << ((i % ciL) << 3);
+ }
return( 0 );
}
@@ -192,19 +194,21 @@ int mbedtls_mpi_core_re... |
Fix shmup camera offset if using multiple directions in one game | @@ -24,7 +24,8 @@ void Reset_Shmup();
void Start_Shmup() {
// Set camera to follow player
camera_target = &player.pos;
- // camera_offset.x = -64;
+
+ camera_offset.x = 0;
camera_offset.y = 0;
if (player.dir.x < 0) {
|
`scope_getuid` -> `scope_geteuid` for root check | @@ -68,7 +68,7 @@ attach(pid_t pid, char *scopeLibPath)
char *exe_path = NULL;
elf_buf_t *ebuf;
- if (scope_getuid()) {
+ if (scope_geteuid()) {
scope_printf("error: --attach requires root\n");
return EXIT_FAILURE;
}
@@ -197,7 +197,7 @@ attachCmd(pid_t pid, bool attach)
* we need to change ownership of dyn config file.... |
mmapstorage: fix builds without OPMPHM | @@ -1027,6 +1027,7 @@ static void copyKeySetToMmap (char * const dest, KeySet * keySet, KeySet * globa
memcpy ((dest + mmapHeader->allocSize - SIZEOF_MMAPFOOTER), mmapFooter, SIZEOF_MMAPFOOTER);
}
+#ifdef ELEKTRA_ENABLE_OPTIMIZATIONS
/**
* @brief Deletes the OPMPHM.
*
@@ -1062,6 +1063,7 @@ static void mmapOpmphmPredict... |
vcl: set STATE_UPDATED state when connect with non-blocking socket!
State set to STATE_UPDATED to ensure the session is not assumed to be open and to also allow the app to close it prior to vpp's connected reply!
Type: fix | @@ -1723,7 +1723,10 @@ vppcom_session_connect (uint32_t session_handle, vppcom_endpt_t * server_ep)
if (VCL_SESS_ATTR_TEST (session->attr, VCL_SESS_ATTR_NONBLOCK))
{
- session->session_state = STATE_CONNECT;
+ /* State set to STATE_UPDATED to ensure the session is not assumed
+ * to be open and to also allow the app to... |
build: macos: Specify MACOSX_DEPLOYMENT_TARGET explicitly
On LuaJIT, it requests to specify MACOSX_DEPLOYMENT_TARGET explicitly on
build command arguments. | @@ -12,7 +12,15 @@ set(LUAJIT_SRC ${CMAKE_CURRENT_SOURCE_DIR}/${FLB_PATH_LIB_LUAJIT})
set(LUAJIT_DEST ${CMAKE_CURRENT_BINARY_DIR})
if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
- set(CFLAGS "${CFLAGS} -isysroot ${CMAKE_OSX_SYSROOT}")
+ set(CFLAGS "${CFLAGS} -isysroot ${CMAKE_OSX_SYSROOT} -fno-stack-check")
+ if (CMAKE_HOST_S... |
Remove entry point in docker compose image for gitlab ci. | @@ -36,7 +36,7 @@ build:
type: build
image:
name: docker/compose:1.23.2
- entrypoint: ["sh"]
+ entrypoint: [""]
script:
- $CI_PROJECT_DIR/docker-compose.sh build
- $CI_PROJECT_DIR/docker-compose.sh push
|
[Kernel] BSP launches file server before entering shared core code path | @@ -105,7 +105,6 @@ static void _kernel_bootstrap_part2(void) {
// Detect and boot other APs
smp_init();
- smp_core_continue();
// Early boot is finished
// Multitasking and program loading is now available
@@ -114,8 +113,14 @@ static void _kernel_bootstrap_part2(void) {
// specified startup programs
task_spawn__with_a... |
out_stackdriver: initialize entry size at the beginning of the loop | @@ -1138,8 +1138,9 @@ static int stackdriver_format(struct flb_config *config,
* "timestamp": "..."
* }
*/
-
+ entry_size = 3;
/* Extract severity */
+ severity_extracted = FLB_FALSE;
if (ctx->severity_key
&& get_severity_level(&severity, obj, ctx->severity_key) == 0) {
severity_extracted = FLB_TRUE;
|
replace redis-trib to redis-cli since it is no longer available | @@ -1230,7 +1230,7 @@ void clusterHandleConfigEpochCollision(clusterNode *sender) {
* about the node we want to remove, we don't re-add it before some time.
*
* Currently the CLUSTER_BLACKLIST_TTL is set to 1 minute, this means
- * that redis-trib has 60 seconds to send CLUSTER FORGET messages to nodes
+ * that redis-c... |
[CUDA] Map llvm.powi.* to __nv_powi*
Fixes | @@ -857,11 +857,13 @@ void mapLibDeviceCalls(llvm::Module *Module) {
{"llvm.pow.f32", "__nv_powf"},
{"llvm.pow.f64", "__nv_pow"},
+ {"llvm.powi.f32", "__nv_powif"},
+ {"llvm.powi.f64", "__nv_powi"},
+
// TODO: frexp
// TODO: ldexp
// TODO: lgamma_r
// TODO: modf
- // TODO: pown
// TODO: remquo
// TODO: rootn
};
|
Fix offset calculation for negative incx | @@ -59,10 +59,9 @@ int CNAME(BLASLONG n, BLASLONG k1, BLASLONG k2, FLOAT dummy1, FLOAT dummy4,
lda *= 2;
k1 --;
-#ifndef MINUS
ipiv += k1;
-#else
- ipiv -= (k2 - 1) * incx;
+#ifdef MINUS
+ ipiv -= (k2 - k1 - 1) * incx;
#endif
if (n <= 0) return 0;
|
it is directory, not dir! | @@ -2396,7 +2396,7 @@ namespace "package" do
args << relpath
end
- Jake.run($jarbin, args, respath) if File.dir?(respath)
+ Jake.run($jarbin, args, respath) if File.directory?(respath)
print_timestamp('package:android FINISH')
|
Update the EdDSA docs with information about Algorithm Identifiers | @@ -15,11 +15,24 @@ one-shot digest sign and digest verify using PureEdDSA and B<Ed25519> or B<Ed448
(see RFC8032). It has associated private and public key formats compatible with
RFC 8410.
+=head2 ED25591 and ED448 Signature Parameters
+
No additional parameters can be set during one-shot signing or verification.
In ... |
Fix Error: vi.c:888:57: error: format string is not a string literal (potentially insecure) | @@ -885,7 +885,7 @@ static void vi_printf(FAR struct vi_s *vi, FAR const char *prefix,
/* Expand the prefix message in the scratch buffer */
- len = prefix ? snprintf(vi->scratch, SCRATCH_BUFSIZE, prefix) : 0;
+ len = prefix ? snprintf(vi->scratch, SCRATCH_BUFSIZE, "%s", prefix) : 0;
va_start(ap, fmt);
len += vsnprintf... |
Fix warning in tui build | @@ -71,8 +71,8 @@ int main() {
fill_char = new_fill_char;
}
field_fill_subrect(&field, 0, 0, field.height, field.width, '.');
- field_fill_subrect(&field, 1, 1, field.height - 2, field.width - 2,
- fill_char);
+ field_fill_subrect(&field, 1, 1, (Usz)(field.height - 2),
+ (Usz)(field.width - 2), fill_char);
// field_deb... |
out_forward: add missing ra check(#4511) | @@ -670,7 +670,8 @@ static int config_set_properties(struct flb_upstream_node *node,
}
#ifdef FLB_HAVE_RECORD_ACCESSOR
- if (fc->compress != COMPRESS_NONE && fc->ra_static == FLB_FALSE) {
+ if (fc->compress != COMPRESS_NONE &&
+ (fc->ra_tag && fc->ra_static == FLB_FALSE) ) {
flb_plg_error(ctx->ins, "compress mode %s is... |
Added note to osThreadTerminate | @@ -592,6 +592,9 @@ Possible \ref osStatus_t return values:
\note This function \b cannot be called from \ref CMSIS_RTOS_ISR_Calls "Interrupt Service Routines".
\note Avoid calling the function with a \em thread_id that does not exist or has been terminated already.
+\note \b osThreadTerminate destroys non-joinable thr... |
fix bug where session name is incorrect with librarypath flag | @@ -38,6 +38,11 @@ func (rc *Config) Run(args []string) {
// Directory contains scope.yml which is configured to output to that
// directory and has a command directory configured in that directory.
env := os.Environ()
+ if !rc.Passthrough {
+ rc.setupWorkDir(args, false)
+ env = append(env, "SCOPE_CONF_PATH="+filepath... |
Update CHIBIOS_STM32F0xx_GCC_options.cmake
remove wrong duplicate specs for linker | @@ -12,5 +12,5 @@ set(CMAKE_CXX_FLAGS "-mthumb -fno-builtin -mcpu=cortex-m0 -Wall -std=c++11 -w -f
set(CMAKE_ASM_FLAGS "-c -mthumb -mcpu=cortex-m0 -g -Wa,--no-warn -x assembler-with-cpp " CACHE INTERNAL "asm compiler flags")
set(CMAKE_EXE_LINKER_FLAGS " -Wl,-gc-sections -Wl,--no-wchar-size-warning -mthumb -mcpu=cortex-... |
I don't understand why but the & don't build in C! | @@ -24,7 +24,7 @@ typedef struct clap_version {
static CLAP_CONSTEXPR const clap_version CLAP_VERSION = {0, 15, 0};
-static CLAP_CONSTEXPR inline bool clap_version_is_compatible(const clap_version &v) {
+static CLAP_CONSTEXPR inline bool clap_version_is_compatible(const clap_version v) {
// For version 0, we require th... |
dm: update uos path in launch_hard_rt_vm.sh | @@ -31,7 +31,7 @@ echo ${passthru_bdf["sata"]} > /sys/bus/pci/devices/${passthru_bdf["sata"]}/driv
echo ${passthru_bdf["sata"]} > /sys/bus/pci/drivers/pci-stub/bind
/usr/bin/acrn-dm -A -m $mem_size -c $1 -s 0:0,hostbridge \
- -k /root/rt_uos_kernel \
+ -k /usr/lib/kernel/default-iot-lts2018-preempt-rt \
--lapic_pt \
--... |
Let FORCE_VCS_INFO_UPDATE invalidate AARs | @@ -5688,7 +5688,7 @@ ${input;hide:EXTRA_INPUTS} \
--bundle-name $REALPRJNAME \
--peers $PEERS \
--maven-repos ${MAPSMOBI_MAVEN_REPO_RESOURCE_GLOBAL} \
-&& ${cwd:BINDIR} ${GRADLE_RESOURCE_GLOBAL}/bin/gradle $_GRADLE_FLAGS_VALUE --no-daemon --offline -g $BIN_GRADLE_USER_HOME_DIR bundle${_BUNDLE_BUILD_TYPE}Aar ${env:"AND... |
mithrax: rgbkbd: Add rgb keyboard type field
rgbkbd_type describes number of zones and LEDs supported.
BRANCH=none
TEST=make -j buildall
Cq-Depend: chromium:3732802 | @@ -61,8 +61,11 @@ const uint8_t rgbkbd_count = ARRAY_SIZE(rgbkbds);
const uint8_t rgbkbd_hsize = RGB_GRID0_COL;
const uint8_t rgbkbd_vsize = RGB_GRID0_ROW;
+const enum ec_rgbkbd_type rgbkbd_type = EC_RGBKBD_TYPE_FOUR_ZONES_12_LEDS;
+
#define LED(x, y) RGBKBD_COORD((x), (y))
#define DELM RGBKBD_DELM
+
const uint8_t rgb... |
hw/nrf51/adc: Use init config when user does not provide new on os_open | @@ -116,6 +116,11 @@ nrf51_adc_open(struct os_dev *odev, uint32_t wait, void *arg)
}
}
+ if (!cfg) {
+ /* Use initial configuration */
+ cfg = init_adc_config;
+ }
+
/* Initialize the device */
rc = nrfx_adc_init(&cfg->adc_cfg, nrf51_adc_event_handler);
if (rc != NRFX_SUCCESS) {
|
Use series of pipe Queues instead of ShiftQueue for adding AXI4 memory delay | @@ -159,11 +159,11 @@ class WithBlackBoxSimMem(additionalLatency: Int = 0) extends OverrideHarnessBind
}
if (additionalLatency > 0) {
withClockAndReset (port.clock, port.reset) {
- mem.io.axi.aw <> ShiftQueue(Decoupled(port.bits.aw), additionalLatency)
- mem.io.axi.w <> ShiftQueue(Decoupled(port.bits.w ), additionalLat... |
super + indicator left click creates overlay | @@ -267,6 +267,7 @@ static Button buttons[] = {
/* click event mask button function argument */
{ ClkLtSymbol, 0, Button1, cyclelayout, {.i = -1 } },
{ ClkLtSymbol, 0, Button3, cyclelayout, {.i = +1 } },
+ { ClkLtSymbol, MODKEY, Button1, createoverlay, {0} },
{ ClkLtSymbol, 0, Button2, setlayout, {.v = &layouts[0]} },
... |
Use virtual device id to avoid NPE
Inject mouse events using id -1 (virtual device) instead of 0 which
does not exist (and causes the InputDevice to be null).
Fixes <https://github.com/Genymobile/scrcpy/issues/962> | @@ -13,6 +13,8 @@ import java.io.IOException;
public class Controller {
+ private static final int DEVICE_ID_VIRTUAL = -1;
+
private final Device device;
private final DesktopConnection connection;
private final DeviceMessageSender sender;
@@ -174,7 +176,8 @@ public class Controller {
}
}
- MotionEvent event = MotionEv... |
bugid:16796279:examples:add http2 stream example | @@ -38,6 +38,11 @@ TARGET += coap-example
SRCS_coap-example := coap/coap_example.c app_entry.c
endif
+ifneq (,$(filter -DHTTP2_COMM_ENABLED,$(CFLAGS)))
+TARGET += http2-example
+SRCS_http2-example := http2/http2_example_stream.c app_entry.c
+endif
+
ifneq (,$(filter -DOTA_ENABLED,$(CFLAGS)))
ifneq (,$(filter -DMQTT_COM... |
Add -DGO_VET=local | @@ -5668,6 +5668,10 @@ module _GO_BASE_UNIT: _BASE_UNIT {
GO_VET_TOOL=${YOLINT_NEXT_RESOURCE_GLOBAL}/yolint
_GO_VET_FLAGS=
}
+ "local" ? {
+ _GO_VET=yes
+ _GO_VET_FLAGS=
+ }
default ? {
_GO_VET=no
_GO_VET_FLAGS=
|
sm2: Allow setting 0 length SM2 dist ID param
Fixes | @@ -430,7 +430,7 @@ static int sm2sig_set_ctx_params(void *vpsm2ctx, const OSSL_PARAM params[])
p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_DIST_ID);
if (p != NULL) {
void *tmp_id = NULL;
- size_t tmp_idlen;
+ size_t tmp_idlen = 0;
/*
* If the 'z' digest has already been computed, the ID is set too late
@@ -438... |
Tests: Add fences to CMake comment block | @@ -23,6 +23,7 @@ file(READ "${CMAKE_CURRENT_BINARY_DIR}/include_common.sh"
INCLUDE_COMMON_FILE)
file(REMOVE "${CMAKE_CURRENT_BINARY_DIR}/include_common.sh")
+# ~~~
# Add a test for a script
#
# The given testname is blah.sh
@@ -30,6 +31,7 @@ file(REMOVE "${CMAKE_CURRENT_BINARY_DIR}/include_common.sh")
# it will be ins... |
craask: Config to reduce flash size
Disable extended console help: ~3500 bytes
TEST=Verify on nivviks
BRANCH=none | @@ -14,6 +14,10 @@ CONFIG_PLATFORM_EC_DYNAMIC_MOTION_SENSOR_COUNT=y
CONFIG_PLATFORM_EC_BUTTONS_RUNTIME_CONFIG=y
+# Flash space saving
+# Turning off extended console help saves ~3500 bytes
+CONFIG_SHELL_HELP=n
+
# Keyboard
CONFIG_PLATFORM_EC_KEYBOARD_KEYPAD=y
CONFIG_PLATFORM_EC_KEYBOARD_FACTORY_TEST=y
|
runtimes/singularity: fix MANPATH and remove unused LD_LIBRARY_PATH | @@ -127,8 +127,7 @@ module-whatis "URL %{url}"
set version %{version}
prepend-path PATH %{install_path}/bin
-prepend-path LD_LIBRARY_PATH %{install_path}/lib
-prepend-path MANPATH %{install_path}/man
+prepend-path MANPATH %{install_path}/share/man
setenv %{PNAME}_DIR %{install_path}
setenv %{PNAME}_BIN %{install_path}/... |
BugID:19029333: modify code style | /*
- * Copyright (C) 2015-2017 Alibaba Group Holding Limited
+ * Copyright (C) 2015-2019 Alibaba Group Holding Limited
*/
-#include "k_api.h"
#include "debug_api.h"
-#include <stdio.h>
+#include "k_api.h"
void k_err_proc_debug(kstat_t err, char *file, int line)
{
@@ -16,3 +15,4 @@ void k_err_proc_debug(kstat_t err, cha... |
More beginner-friendly error message | @@ -60,7 +60,7 @@ Vector lovrPoolAllocate(Pool* pool, VectorType type, float** data) {
}
float* lovrPoolResolve(Pool* pool, Vector vector) {
- lovrAssert(vector.handle.generation == pool->generation, "Attempt to use a vector in a different generation than the one it was created in (vectors can not be saved into variabl... |
vmxnet3: memory leak on parsing bad CLI command
When parsing bad "create interface vmxnet3" command, we should call
unformat_free prior to return
Type: fix
Fixes: | @@ -58,12 +58,14 @@ vmxnet3_create_command_fn (vlib_main_t * vm, unformat_input_t * input,
else if (unformat (line_input, "num-rx-queues %u", &size))
args.rxq_num = size;
else
+ {
+ unformat_free (line_input);
return clib_error_return (0, "unknown input `%U'",
format_unformat_error, input);
}
+ }
unformat_free (line_in... |
test/cbi: allow to use test with WP GPIO active low
CBI test is usable without setting CONFIG_WP_ACTIVE_HIGH option.
BRANCH=none
TEST=make run-cbi | static void test_setup(void)
{
+ /* Make sure that write protect is disabled */
+#ifdef CONFIG_WP_ACTIVE_HIGH
+ gpio_set_level(GPIO_WP, 0);
+#else
+ gpio_set_level(GPIO_WP_L, 1);
+#endif /* CONFIG_WP_ACTIVE_HIGH */
+
cbi_create();
cbi_write();
}
@@ -228,7 +235,11 @@ DECLARE_EC_TEST(test_all_tags)
zassert_equal(count, C... |
More MacOS font folders
Installed latest MacOS and lost default fonts _serif, _sans etc. Discovered that fonts moved to /System/Library/Fonts/Supplemental/ folder. Not sure if this unique to my case or on new mac fonts relocated. Can anybody confirm this? | @@ -527,7 +527,7 @@ const char *fontFolders[] = { "/System/Library/Fonts/CoreAddition/", "/System/Li
"/System/Library/Fonts/Extra/", "/System/Library/Fonts/Cache/", 0 };
#else
//#define FONT_BASE "/Library/Fonts/"
-const char *fontFolders[] = { "/Library/Fonts/", 0 };
+const char *fontFolders[] = { "/System/Library/Fon... |
arm/backtrace_fp: fix build warning
common/arm_backtrace_fp.c: In function 'up_backtrace':
common/arm_backtrace_fp.c:126:23: warning: assignment to 'void *' from 'uintptr_t' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion]
126 | istacklimit = arm_intstack_top();
| ... | @@ -123,7 +123,7 @@ int up_backtrace(struct tcb_s *tcb,
{
#if CONFIG_ARCH_INTERRUPTSTACK > 7
# ifdef CONFIG_SMP
- istacklimit = arm_intstack_top();
+ istacklimit = (void *)arm_intstack_top();
# else
istacklimit = g_intstacktop;
# endif /* CONFIG_SMP */
|
modulization: combine vmx_caps into cpu_caps
in cpu_caps.c, the vmx_caps & cpu_caps can be combined.
Changes to be committed:
modified: arch/x86/cpu_caps.c
Acked-by: Eddie Dong | #define VAPIC_FEATURE_POST_INTR (1U << 4U)
#define VAPIC_FEATURE_VX2APIC_MODE (1U << 5U)
-static struct vmx_capability {
- uint32_t ept;
- uint32_t vpid;
-} vmx_caps;
-
struct cpu_capability {
uint8_t apicv_features;
uint8_t ept_features;
-};
-static struct cpu_capability cpu_caps;
+
+ uint32_t vmx_ept;
+ uint32_t vmx_... |
CMSIS-NN: Fixed component dependency to DSP. | @@ -2334,7 +2334,7 @@ and 8-bit Java bytecodes in Jazelle state.
<!-- CMSIS NN -->
<condition id="CMSIS NN">
<description>Components required for NN</description>
- <require condition="CMSIS DSP"/>
+ <require Cclass="CMSIS" Cgroup="DSP"/>
</condition>
<!-- RTOS RTX -->
|
Fixup log printout. | @@ -1136,16 +1136,26 @@ iter_stub_fwd_no_cache(struct module_qstate *qstate, struct iter_qstate *iq)
stub = hints_lookup_stub(qstate->env->hints, iq->qchase.qname,
iq->qchase.qclass, iq->dp);
if (stub != NULL && stub->dp != NULL) {
- verbose(VERB_ALGO, "%s: stub for '%s'/'%s' no_cache %d", __func__,
- iq->qchase.qname,... |
Reorder flag checks | @@ -7273,7 +7273,7 @@ NTSTATUS PhLoaderEntryRelocateImage(
if (dataDirectory->Size == 0)
return STATUS_SUCCESS;
if (imageNtHeader->FileHeader.Characteristics & IMAGE_FILE_RELOCS_STRIPPED)
- return STATUS_SUCCESS; // STATUS_CONFLICTING_ADDRESSES
+ return STATUS_SUCCESS;
for (ULONG i = 0; i < imageNtHeader->FileHeader.Nu... |
Fix: mingw: undefined reference rand_r
Exclude mingw from ENABLE_OPTIMIZATIONS. | @@ -64,6 +64,7 @@ if (CMAKE_COMPILER_IS_GNUCXX)
execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
if (WIN32)
message (STATUS "mingw detected")
+ set (ENABLE_OPTIMIZATIONS OFF CACHE BOOL "Turn on optimizations that trade memory for speed" FORCE)
else(WIN32)
#not supported by icc:
set ... |
driverless: Consider also PCLm printers as supporting driverless printing | @@ -92,6 +92,9 @@ list_printers (int mode)
ippfind_argv[i++] = "(";
ippfind_argv[i++] = "--txt-pdl"; /* PDL list in TXT record contains */
ippfind_argv[i++] = "image/pwg-raster"; /* PWG Raster (IPP Everywhere) */
+ ippfind_argv[i++] = "--or"; /* or */
+ ippfind_argv[i++] = "--txt-pdl";
+ ippfind_argv[i++] = "applicatio... |
Fix bug with wrong function call on MQTT client | @@ -1000,7 +1000,7 @@ mqtt_conn_cb(esp_evt_t* evt) {
/* Data sent callback */
mqtt_data_sent_cb(client,
esp_evt_conn_data_send_get_length(evt),
- esp_evt_conn_data_send_get_length(evt) == espOK);
+ esp_evt_conn_data_send_get_result(evt) == espOK);
break;
}
|
Use lovrLog functions in oculus_mobile.c;
Question: Are we okay to simplify log levels to DEBUG/WARN? If not,
maybe we add a LOVR_LOG_LEVEL thing... | @@ -317,7 +317,7 @@ static void android_vthrow(lua_State* L, const char* format, va_list args) {
#define MAX_ERROR_LENGTH 1024
char lovrErrorMessage[MAX_ERROR_LENGTH];
vsnprintf(lovrErrorMessage, MAX_ERROR_LENGTH, format, args);
- __android_log_print(ANDROID_LOG_FATAL, "LOVR", "Error: %s\n", lovrErrorMessage);
+ lovrWa... |
EC: Reverse the default asn1_flag in a new EC_GROUP
The default was OPENSSL_EC_NAMED_CURVE, but that's not true until a
curve name has been set, so we change the initial value to
OPENSSL_EC_EXPLICIT_CURVE and let EC_GROUP_set_curve_name() change it
to OPENSSL_EC_NAMED_CURVE.
Submitted by Matt Caswell | @@ -63,7 +63,7 @@ EC_GROUP *ec_group_new_ex(OSSL_LIB_CTX *libctx, const char *propq,
if (ret->cofactor == NULL)
goto err;
}
- ret->asn1_flag = OPENSSL_EC_NAMED_CURVE;
+ ret->asn1_flag = OPENSSL_EC_EXPLICIT_CURVE;
ret->asn1_form = POINT_CONVERSION_UNCOMPRESSED;
if (!meth->group_init(ret))
goto err;
@@ -481,6 +481,10 @@ ... |
Add USE_PERL fallback option for create script used with FUNCTION_PROFILE | @@ -531,8 +531,11 @@ $(BLASOBJS) $(BLASOBJS_P) : functable.h
$(BLASOBJS) $(BLASOBJS_P) : override CFLAGS += -DPROFILE_FUNC_NAME=interface_$(*F)
functable.h : Makefile
+ifndef USE_PERL
./create $(FUNCALLFILES) > functable.h
-
+else
+ ./create.pl $(FUNCALLFILES) > functable.h
+endif
endif
clean ::
|
nimble/ll: Fix len od directed advertsing report | @@ -761,11 +761,13 @@ ble_ll_scan_send_adv_report(uint8_t pdu_type, uint8_t txadd, struct os_mbuf *om,
if ((inita[5] & 0x40)) {
/* For resolvable we send separate event */
subev = BLE_HCI_LE_SUBEV_DIRECT_ADV_RPT;
+ event_len = BLE_HCI_LE_ADV_DIRECT_RPT_LEN;
} else {
subev = BLE_HCI_LE_SUBEV_ADV_RPT;
+ event_len = BLE_H... |
Fix test_addpattern test
Thanks | @@ -207,13 +207,14 @@ BOOST_FIXTURE_TEST_CASE(test_progressive_stepping, Fixture)
BOOST_FIXTURE_TEST_CASE(test_addpattern, Fixture)
{
int pat_index, n_patterns_1, n_patterns_2;
+ char newpat[] = "new_pattern";
// get the number of current patterns
error = EN_getcount(ph, EN_PATCOUNT, &n_patterns_1);
BOOST_REQUIRE(error... |
out_s3: fix parameter for scheduler timer | @@ -1200,17 +1200,18 @@ static void cb_s3_flush(const void *data, size_t bytes,
void *out_context,
struct flb_config *config)
{
- struct flb_s3 *ctx = out_context;
- flb_sds_t json = NULL;
- struct s3_file *chunk = NULL;
- struct multipart_upload *m_upload = NULL;
+ int ret;
+ int len;
+ int timeout_check = FLB_FALSE;
... |
Be more specific about location of compile error (we only know the innermost tuple). | @@ -980,7 +980,7 @@ onvalue."
(def {:error err :error-line errl :error-column errc} res)
(onerr where "compile"
(if (< 0 errl)
- (string err " on line " errl ", column " errc)
+ (string err " in form at line " errl ", column " errc)
err)))))
:a))
(def res (resume f))
|
mesh: Fix transport tx and rx
Fix seg_tx occupy when no segment not send
and allocate rx_seg when receive such message.
this is port of | @@ -403,8 +403,7 @@ static void seg_tx_send_unacked(struct seg_tx *tx)
BUF_TIMEOUT);
if (!seg) {
BT_DBG("Allocating segment failed");
- tx->sending = 0U;
- return;
+ goto end;
}
net_buf_reserve(seg, BT_MESH_NET_HDR_LEN);
@@ -420,12 +419,17 @@ static void seg_tx_send_unacked(struct seg_tx *tx)
seg_tx_complete(tx, -EIO);... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.