Ignore:
Timestamp:
Apr 21, 2025, 7:17:25 PM (4 months ago)
Author:
David Azarewicz
Message:

Merge from uniaud32-exp branch

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/synth/emux/emux.c

    r772 r777  
    9292
    9393        emu->card = card;
    94         emu->name = kstrdup(name, GFP_KERNEL);
     94        emu->name = kstrdup_const(name, GFP_KERNEL);
    9595        emu->voices = kcalloc(emu->max_voices, sizeof(struct snd_emux_voice),
    9696                              GFP_KERNEL);
     
    101101        memset(&sf_cb, 0, sizeof(sf_cb));
    102102        sf_cb.private_data = emu;
    103         if (emu->ops.sample_new)
    104103                sf_cb.sample_new = sf_sample_new;
    105         if (emu->ops.sample_free)
    106104                sf_cb.sample_free = sf_sample_free;
    107105        if (emu->ops.sample_reset)
     
    147145        snd_sf_free(emu->sflist);
    148146        kfree(emu->voices);
    149         kfree(emu->name);
     147        kfree_const(emu->name);
    150148        kfree(emu);
    151149        return 0;
Note: See TracChangeset for help on using the changeset viewer.