/* * 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; } leanup'>emaclite-cleanup net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-23 13:51:59 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-23 13:51:59 -0800
commita4685d2f58e2230d4e27fb2ee581d7ea35e5d046 (patch)
treec2873b20dc923fec4643addcb695aa9400f50430 /sound/soc
parent6302118226830c8f0aa0ec6afc8ef0cad84faa5f (diff)
parentfd7c99142d77dc4a851879a66715abf12a3193fb (diff)
Merge branch 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile
Pull tile bugfix from Chris Metcalf: "This avoids an issue with short userspace reads for regset via ptrace" * 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile: tile/ptrace: Preserve previous registers for short regset write
Diffstat (limited to 'sound/soc')