Reduce size of several on-stack string buffers.

Submitted by:	Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after:	2 weeks
This commit is contained in:
Alexander Motin 2017-12-13 21:17:00 +00:00
parent 5f28c51db6
commit 4d4709520a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326835
6 changed files with 6 additions and 6 deletions

View File

@ -1411,7 +1411,7 @@ adasysctlinit(void *context, int pending)
{
struct cam_periph *periph;
struct ada_softc *softc;
char tmpstr[80], tmpstr2[80];
char tmpstr[32], tmpstr2[16];
periph = (struct cam_periph *)context;

View File

@ -340,7 +340,7 @@ pmpsysctlinit(void *context, int pending)
{
struct cam_periph *periph;
struct pmp_softc *softc;
char tmpstr[80], tmpstr2[80];
char tmpstr[32], tmpstr2[16];
periph = (struct cam_periph *)context;
if (cam_periph_acquire(periph) != CAM_REQ_CMP)

View File

@ -584,7 +584,7 @@ ndasysctlinit(void *context, int pending)
{
struct cam_periph *periph;
struct nda_softc *softc;
char tmpstr[80], tmpstr2[80];
char tmpstr[32], tmpstr2[16];
periph = (struct cam_periph *)context;

View File

@ -477,7 +477,7 @@ cdsysctlinit(void *context, int pending)
{
struct cam_periph *periph;
struct cd_softc *softc;
char tmpstr[80], tmpstr2[80];
char tmpstr[32], tmpstr2[16];
periph = (struct cam_periph *)context;
if (cam_periph_acquire(periph) != CAM_REQ_CMP)

View File

@ -1951,7 +1951,7 @@ dasysctlinit(void *context, int pending)
{
struct cam_periph *periph;
struct da_softc *softc;
char tmpstr[80], tmpstr2[80];
char tmpstr[32], tmpstr2[16];
struct ccb_trans_settings cts;
periph = (struct cam_periph *)context;

View File

@ -2296,7 +2296,7 @@ sasysctlinit(void *context, int pending)
{
struct cam_periph *periph;
struct sa_softc *softc;
char tmpstr[80], tmpstr2[80];
char tmpstr[32], tmpstr2[16];
periph = (struct cam_periph *)context;
/*