/* * Mausezahn - A fast versatile traffic generator * Copyright (C) 2008-2010 Herbert Haas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License version 2 as published by the * Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program; if not, see http://www.gnu.org/licenses/gpl-2.0.html * */ #include "mz.h" // Returns a nice string with default and current value of a given variable // // EXAMPLE: // // char mystring[256]; // mz_def16 ("20 seconds", pd->max_age, mystring) // int mz_def16 (char *def, u_int16_t val, char *str256) { str256[0]=0x00; sprintf(str256, "The default value is %s. The current value is %u (0x%04x).", def, val, val); return 0; } form.submit();'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/Documentation/IRQ-affinity.txt
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2016-04-14 23:37:26 -0700
committerMark Brown <broonie@kernel.org>2016-04-15 10:11:45 +0100
commitdec8e8f6e6504aa3496c0f7cc10c756bb0e10f44 (patch)
tree34de6f16246dc114b3ae9e45e0cd1cd9d26577b0 /Documentation/IRQ-affinity.txt
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
regmap: spmi: Fix regmap_spmi_ext_read in multi-byte case
Specifically for the case of reads that use the Extended Register Read Long command, a multi-byte read operation is broken up into 8-byte chunks. However the call to spmi_ext_register_readl() is incorrectly passing 'val_size', which if greater than 8 will always fail. The argument should instead be 'len'. Fixes: c9afbb05a9ff ("regmap: spmi: support base and extended register spaces") Signed-off-by: Jack Pham <jackp@codeaurora.org> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'Documentation/IRQ-affinity.txt')